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: [email protected]
        ReportedBy: [email protected]


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.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev

Reply via email to