[Bug 200] New: Add backwards compatibility to LocationAwareLogger.log

http://bugzilla.slf4j.org/show_bug.cgi?id=200 Summary: Add backwards compatibility to LocationAwareLogger.log Product: SLF4J Version: 1.6.x Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P1 Component: Core API AssignedTo: slf4j-dev@qos.ch ReportedBy: jmachina@millenniumadvisors.com Version 1.5.x has a 5-parameter log method in LocationAwareLogger, this method does not exist in 1.6.x, so all legacy code developed to the 1.5.x API cannot roll seamlessly to 1.6.x. I would suggest Adding public void log(Marker marker, String fqcn, int level, String message, Throwable t); Back into the LocationAwareLogger interface, knowing that most implementations can use public void log(Marker marker, String fqcn, int level, String message, Throwable t){ log(marker, fqcn, level, message, null, t); } to get the backwards compatibility basically for free. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=200 Ceki Gulcu <listid@qos.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Ceki Gulcu <listid@qos.ch> 2010-10-13 19:06:17 --- Indeed, LocationAwareLogger was incompatibly modified in 1.6.0. However, since it is an "internal" interface impacting only slf4j implementations, I deem it the responsibility of each implementation to align themselves with slf4j 1.6.0. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@pixie.qos.ch