Package berlin.yuna.mavendeploy.model
Class Logger
- java.lang.Object
-
- berlin.yuna.mavendeploy.model.Logger
-
- All Implemented Interfaces:
org.apache.maven.plugin.logging.Log
public class Logger extends java.lang.Object implements org.apache.maven.plugin.logging.Log
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogger.LogLevel
-
Method Summary
Modifier and Type Method Description voiddebug(java.lang.CharSequence content)voiddebug(java.lang.CharSequence content, java.lang.Throwable error)voiddebug(java.lang.Object... format)voiddebug(java.lang.Throwable error)voiderror(java.lang.CharSequence content)voiderror(java.lang.CharSequence content, java.lang.Throwable error)voiderror(java.lang.Object... format)voiderror(java.lang.Throwable error)voidfatal(java.lang.Object... format)voidinfo(java.lang.CharSequence content)voidinfo(java.lang.CharSequence content, java.lang.Throwable error)voidinfo(java.lang.Object... format)voidinfo(java.lang.Throwable error)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()voidsetConsumer(java.util.function.Consumer<java.lang.String> consumer)LoggersetLogLevel(Logger.LogLevel logLevel)voidwarn(java.lang.CharSequence content)voidwarn(java.lang.CharSequence content, java.lang.Throwable error)voidwarn(java.lang.Object... format)voidwarn(java.lang.Throwable error)
-
-
-
Method Detail
-
debug
public void debug(java.lang.Object... format)
-
info
public void info(java.lang.Object... format)
-
warn
public void warn(java.lang.Object... format)
-
error
public void error(java.lang.Object... format)
-
fatal
public void fatal(java.lang.Object... format)
-
debug
public void debug(java.lang.CharSequence content)
- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(java.lang.CharSequence content, java.lang.Throwable error)- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(java.lang.Throwable error)
- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.CharSequence content)
- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.CharSequence content, java.lang.Throwable error)- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.Throwable error)
- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.CharSequence content)
- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.CharSequence content, java.lang.Throwable error)- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.Throwable error)
- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.CharSequence content)
- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.CharSequence content, java.lang.Throwable error)- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.Throwable error)
- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
setLogLevel
public Logger setLogLevel(Logger.LogLevel logLevel)
-
setConsumer
public void setConsumer(java.util.function.Consumer<java.lang.String> consumer)
-
-