接口的使用
cn.sliew.milky.log.Logger
-
-
cn.sliew.milky.log中Logger的使用
实现Logger的cn.sliew.milky.log中的类 修饰符和类型 类 说明 classAbstractLoggerA skeletal implementation ofLogger.classLog4J2LoggerLogger implementaion by Log4j2.classNoLoggerdumpyAbstractLoggerimplementation.classSlf4jLoggerSLF4J logger.classStdOutLoggerLogger implementaion bySystem.outandSystem.error.返回Logger的cn.sliew.milky.log中的方法 修饰符和类型 方法 说明 static LoggerLoggerFactory. getLogger(Class<?> clazz)Creates a new logger instance with the name of the specified class.static LoggerLoggerFactory. getLogger(String name)Creates a new logger instance with the specified name.LoggerLog4J2LoggerFactory. newInstance(String name)protected abstract LoggerLoggerFactory. newInstance(String name)Creates a new logger instance with the specified name.protected LoggerNoLoggerFactory. newInstance(String name)LoggerSlf4jLoggerFactory. newInstance(String name)protected LoggerStdOutLoggerFactory. newInstance(String name)
-