public abstract static class BuildLogger.Adapter extends Object implements BuildLogger
BuildLogger.Adapter, BuildLogger.Compound, BuildLogger.NoOp, BuildLogger.StreamWriting| Constructor and Description | 
|---|
| Adapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | debug(String message)Logs a message on the debug level. | 
| void | debug(String message,
     Throwable throwable)Logs a message on the debug level. | 
| void | error(String message)Logs a message on the error level. | 
| void | error(String message,
     Throwable throwable)Logs a message on the error level. | 
| void | info(String message)Logs a message on the info level. | 
| void | info(String message,
    Throwable throwable)Logs a message on the info level. | 
| boolean | isDebugEnabled()Returns  trueif the debug log level is enabled. | 
| boolean | isErrorEnabled()Returns  trueif the error log level is enabled. | 
| boolean | isInfoEnabled()Returns  trueif the info log level is enabled. | 
| boolean | isWarnEnabled()Returns  trueif the warn log level is enabled. | 
| void | warn(String message)Logs a message on the warn level. | 
| void | warn(String message,
    Throwable throwable)Logs a message on the warn level. | 
public boolean isDebugEnabled()
true if the debug log level is enabled.isDebugEnabled in interface BuildLoggertrue if the debug log level is enabled.public void debug(String message)
debug in interface BuildLoggermessage - The message to log.public void debug(String message, Throwable throwable)
debug in interface BuildLoggermessage - The message to log.throwable - A throwable that is attached to the message.public boolean isInfoEnabled()
true if the info log level is enabled.isInfoEnabled in interface BuildLoggertrue if the info log level is enabled.public void info(String message)
info in interface BuildLoggermessage - The message to log.public void info(String message, Throwable throwable)
info in interface BuildLoggermessage - The message to log.throwable - A throwable that is attached to the message.public boolean isWarnEnabled()
true if the warn log level is enabled.isWarnEnabled in interface BuildLoggertrue if the warn log level is enabled.public void warn(String message)
warn in interface BuildLoggermessage - The message to log.public void warn(String message, Throwable throwable)
warn in interface BuildLoggermessage - The message to log.throwable - A throwable that is attached to the message.public boolean isErrorEnabled()
true if the error log level is enabled.isErrorEnabled in interface BuildLoggertrue if the error log level is enabled.public void error(String message)
error in interface BuildLoggermessage - The message to log.public void error(String message, Throwable throwable)
error in interface BuildLoggermessage - The message to log.throwable - A throwable that is attached to the message.Copyright © 2014–2023. All rights reserved.