Class Slf4jLoggerFactory.Slf4jLogger
java.lang.Object
org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory.Slf4jLogger
- All Implemented Interfaces:
Logger
- Enclosing class:
- Slf4jLoggerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Emits the specified message.void
Emits the specified message along with a stack trace of the given exception.boolean
Indicates whether debug logging is enabled.boolean
Indicates whether warn logging is enabled.void
Emits the specified message.void
Emits the specified message along with a stack trace of the given exception.
-
Field Details
-
logger
private final org.slf4j.Logger logger
-
-
Constructor Details
-
Slf4jLogger
Slf4jLogger(org.slf4j.Logger logger)
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()Description copied from interface:Logger
Indicates whether debug logging is enabled.- Specified by:
isDebugEnabled
in interfaceLogger
- Returns:
true
if debug logging is enabled,false
otherwise.
-
debug
Description copied from interface:Logger
Emits the specified message. -
debug
Description copied from interface:Logger
Emits the specified message along with a stack trace of the given exception. -
isWarnEnabled
public boolean isWarnEnabled()Description copied from interface:Logger
Indicates whether warn logging is enabled.- Specified by:
isWarnEnabled
in interfaceLogger
- Returns:
true
if warn logging is enabled,false
otherwise.
-
warn
Description copied from interface:Logger
Emits the specified message. -
warn
Description copied from interface:Logger
Emits the specified message along with a stack trace of the given exception.
-