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.ILoggerFactory
The 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 appropriateLogger
instance as specified by thename
parameter.
-
-
-
Method Detail
-
getLogger
public org.slf4j.Logger getLogger(java.lang.String name)
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:
java.lang.NullPointerException
- Ifname
isnull
.
-
-