Package org.apache.maven.slf4j
Class MavenLoggerFactory
java.lang.Object
org.slf4j.simple.SimpleLoggerFactory
org.apache.maven.slf4j.MavenLoggerFactory
- All Implemented Interfaces:
MavenSlf4jWrapperFactory
,org.slf4j.ILoggerFactory
LogFactory for Maven which can create a simple logger or one which, if set, fails the build on a severity threshold.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.slf4j.Logger
createLogger
(String name) Actually creates the logger for the given name.void
setLogLevelRecorder
(LogLevelRecorder logLevelRecorder) Methods inherited from class org.slf4j.simple.SimpleLoggerFactory
getLogger, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.slf4j.ILoggerFactory
getLogger
-
Constructor Details
-
MavenLoggerFactory
public MavenLoggerFactory()
-
-
Method Details
-
setLogLevelRecorder
- Specified by:
setLogLevelRecorder
in interfaceMavenSlf4jWrapperFactory
-
getLogLevelRecorder
- Specified by:
getLogLevelRecorder
in interfaceMavenSlf4jWrapperFactory
-
createLogger
Description copied from class:SimpleLoggerFactory
Actually creates the logger for the given name.- Overrides:
createLogger
in classSimpleLoggerFactory
-