Package com.iizix.log.slf4j
Class LogFactoryImpl
java.lang.Object
com.iizix.log.slf4j.LogFactoryImpl
- All Implemented Interfaces:
org.slf4j.ILoggerFactory
The Logger factory of IIZI for SLF4J.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Constructor Details
LogFactoryImpl
public LogFactoryImpl()The constructor creates the root logger named "ROOT".
Method Details
getLogger
Return an appropriateLogger
instance as specified by thename
parameter.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:
getLogger
in interfaceorg.slf4j.ILoggerFactory
- Parameters:
name
- The name of the Logger to return.- Returns:
- a Logger instance.
- Throws:
NullPointerException
- Ifname
isnull
.