
28 Jul
2010
28 Jul
'10
3:53 p.m.
In logback the Level class is final and cannot be extended. However, you can use markers instead. Markers are part of the SLF4J API. What does your custom level do? On 28/07/2010 5:04 PM, Lars Fischer wrote:
Hello,
I would like to switch an existing system from log4j to Logback. The current system extends org.apache.log4j.Level to define some custom additional levels and uses
Logger#log(Priority priority, Object message)
with the custom Level as priority.
Is there a similar way to extend Logback with additional levels?
Regards, Lars