|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.log.LoggerFacade
org.restlet.ext.slf4j.Slf4jLoggerFacade
public class Slf4jLoggerFacade
Restlet log facade for the SLF4J LoggerFactory
. In order to use SLF4J
as the logging facade for Restlet, you need to set the
"org.restlet.engine.loggerFacadeClass" system property with the
"org.restlet.ext.slf4j.Slf4jLoggerFacade" value.
Slf4jLogger
Constructor Summary | |
---|---|
Slf4jLoggerFacade()
|
Method Summary | |
---|---|
java.util.logging.Logger |
getAnonymousLogger()
Returns an instance of Slf4jLogger , wrapping the result of
LoggerFactory.getLogger(String) where the logger name is "". |
java.util.logging.Logger |
getLogger(java.lang.String loggerName)
Returns an instance of Slf4jLogger , wrapping the result of
LoggerFactory.getLogger(String) with the logger name. |
Methods inherited from class org.restlet.engine.log.LoggerFacade |
---|
getLogger, getLogger, getLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Slf4jLoggerFacade()
Method Detail |
---|
public java.util.logging.Logger getAnonymousLogger()
Slf4jLogger
, wrapping the result of
LoggerFactory.getLogger(String)
where the logger name is "".
getAnonymousLogger
in class LoggerFacade
public java.util.logging.Logger getLogger(java.lang.String loggerName)
Slf4jLogger
, wrapping the result of
LoggerFactory.getLogger(String)
with the logger name.
getLogger
in class LoggerFacade
loggerName
- The logger name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |