Package com.iizix.log.slf4j
Class LogFactoryImpl
- java.lang.Object
- com.iizix.log.slf4j.LogFactoryImpl
 
- All Implemented Interfaces:
- org.slf4j.ILoggerFactory
 - public final class LogFactoryImpl extends java.lang.Object implements org.slf4j.ILoggerFactoryThe Logger factory of IIZI for SLF4J.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - LogFactoryImpl()The constructor creates the root logger named "ROOT".
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - org.slf4j.Logger- getLogger(java.lang.String name)Return an appropriate- Loggerinstance as specified by the- nameparameter.
 
- Method Detail- getLogger- public org.slf4j.Logger getLogger(java.lang.String name) Return an appropriate- Loggerinstance as specified by the- nameparameter.- If the name parameter is equal to - Logger.ROOT_LOGGER_NAME, that is the string value "ROOT" (case insensitive), then the root logger of the underlying logging system is returned.- Null-valued name arguments are considered invalid. - Specified by:
- getLoggerin interface- org.slf4j.ILoggerFactory
- Parameters:
- name- The name of the Logger to return.
- Returns:
- a Logger instance.
- Throws:
- java.lang.NullPointerException- If- nameis- null.