public class Slf4jLoggerFacade extends LoggerFacade
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 and Description |
|---|
Slf4jLoggerFacade() |
| Modifier and Type | Method and Description |
|---|---|
Logger |
getAnonymousLogger()
Returns an instance of
Slf4jLogger, wrapping the result of
LoggerFactory.getLogger(String) where the logger name is "". |
Logger |
getLogger(String loggerName)
Returns an instance of
Slf4jLogger, wrapping the result of
LoggerFactory.getLogger(String) with the logger name. |
getLogger, getLogger, getLoggerpublic Logger getAnonymousLogger()
Slf4jLogger, wrapping the result of
LoggerFactory.getLogger(String) where the logger name is "".getAnonymousLogger in class LoggerFacadepublic Logger getLogger(String loggerName)
Slf4jLogger, wrapping the result of
LoggerFactory.getLogger(String) with the logger name.getLogger in class LoggerFacadeloggerName - The logger name.Copyright © 2005-2014 Restlet.