public final class LoggerFactory extends Object
LoggerFactory.
These return an SLF4J Ext Logger decorating the SLF4J Logger that would be returned by the equivalent
function on SLF4J's LoggerFactory.| Modifier and Type | Method and Description |
|---|---|
static Logger |
getLogger(Class<?> aClass)
Return a
Logger decorating the SLF4J Logger returned by a call to
SLF4J's LoggerFactory.getLogger(Class). |
static Logger |
getLogger(String loggerName)
Return a
Logger decorating the SLF4J Logger returned by a call to
SLF4J's LoggerFactory.getLogger(String). |
public static Logger getLogger(Class<?> aClass)
Logger decorating the SLF4J Logger returned by a call to
SLF4J's LoggerFactory.getLogger(Class).aClass - the returned logger will be named after clazzpublic static Logger getLogger(String loggerName)
Logger decorating the SLF4J Logger returned by a call to
SLF4J's LoggerFactory.getLogger(String).loggerName - The name of the logger.Copyright © 2013. All Rights Reserved.