Package org.slf4j.impl
Class MavenLoggerFactory
java.lang.Object
org.slf4j.impl.SimpleLoggerFactory
org.slf4j.impl.MavenLoggerFactory
- All Implemented Interfaces:
MavenSlf4jWrapperFactory
,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 TypeMethodDescriptionReturn 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 interfaceILoggerFactory
- Overrides:
getLogger
in classSimpleLoggerFactory
-