Package org.slf4j.impl
Class MavenLoggerFactory
java.lang.Object
org.slf4j.impl.SimpleLoggerFactory
org.slf4j.impl.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 TypeMethodDescriptionorg.slf4j.Logger
Return an appropriateMavenSimpleLogger
instance by name.void
setLogLevelRecorder
(LogLevelRecorder logLevelRecorder)
-
Constructor Details
-
MavenLoggerFactory
public MavenLoggerFactory()
-
-
Method Details
-
setLogLevelRecorder
- Specified by:
setLogLevelRecorder
in interfaceMavenSlf4jWrapperFactory
-
getLogLevelRecorder
- Specified by:
getLogLevelRecorder
in interfaceMavenSlf4jWrapperFactory
-
getLogger
Return an appropriateMavenSimpleLogger
instance by name.- Specified by:
getLogger
in interfaceorg.slf4j.ILoggerFactory
- Overrides:
getLogger
in classSimpleLoggerFactory
-