[slf4j-dev] [Bug 140] New: NLOG4j's Category.log(priority, message) method signature does not match log4j
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Thu Jul 9 02:47:26 CEST 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=140
Summary: NLOG4j's Category.log(priority, message) method
signature does not match log4j
Product: SLF4J
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P1
Component: Implementations
AssignedTo: dev at slf4j.org
ReportedBy: dnault at laszlosystems.com
The signature of this method differs between NLOG4j and log4j.
log4j: Category.log(Priority, Object)
NLOG4j: Category.log(Priority, String)
Code compiled against log4j throws this exception when using NLOG4j:
java.lang.NoSuchMethodError:
org.apache.log4j.Logger.log(Lorg/apache/log4j/Priority;Ljava/lang/Object;)V
Changing the method signature to (Priority, Object) fixes the problem.
Problem observed in NLOG4j 1.2.25
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list