Package cn.sliew.milky.log
Class Slf4jLoggerFactory
- java.lang.Object
-
- cn.sliew.milky.log.LoggerFactory
-
- cn.sliew.milky.log.Slf4jLoggerFactory
-
public class Slf4jLoggerFactory extends LoggerFactory
Logger factory which creates a SLF4J logger.
-
-
Field Summary
Fields Modifier and Type Field Description static LoggerFactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggernewInstance(String name)Creates a new logger instance with the specified name.-
Methods inherited from class cn.sliew.milky.log.LoggerFactory
getDefaultFactory, getLogger, getLogger, setDefaultFactory
-
-
-
-
Field Detail
-
INSTANCE
public static final LoggerFactory INSTANCE
-
-
Method Detail
-
newInstance
public Logger newInstance(String name)
Description copied from class:LoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classLoggerFactory
-
-