public interface Logger
com.lightstreamer.client.LightstreamerClient#setLoggerProvider
.Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String line)
Receives log messages at Debug level.
|
void |
debug(java.lang.String line,
java.lang.Throwable exception)
Receives log messages at Debug level and a related exception.
|
void |
error(java.lang.String line)
Receives log messages at Error level.
|
void |
error(java.lang.String line,
java.lang.Throwable exception)
Receives log messages at Error level and a related exception.
|
void |
fatal(java.lang.String line)
Receives log messages at Fatal level.
|
void |
fatal(java.lang.String line,
java.lang.Throwable exception)
Receives log messages at Fatal level and a related exception.
|
void |
info(java.lang.String line)
Receives log messages at Info level.
|
void |
info(java.lang.String line,
java.lang.Throwable exception)
Receives log messages at Info level and a related exception.
|
boolean |
isDebugEnabled()
Checks if this logger is enabled for the Debug level.
|
boolean |
isErrorEnabled()
Checks if this logger is enabled for the Error level.
|
boolean |
isFatalEnabled()
Checks if this logger is enabled for the Fatal level.
|
boolean |
isInfoEnabled()
Checks if this logger is enabled for the Info level.
|
boolean |
isWarnEnabled()
Checks if this logger is enabled for the Warn level.
|
void |
warn(java.lang.String line)
Receives log messages at Warn level.
|
void |
warn(java.lang.String line,
java.lang.Throwable exception)
Receives log messages at Warn level and a related exception.
|
void error(@Nonnull java.lang.String line)
line
- The message to be logged.void error(@Nonnull java.lang.String line, @Nonnull java.lang.Throwable exception)
line
- The message to be logged.exception
- An Exception instance related to the current log message.void warn(@Nonnull java.lang.String line)
line
- The message to be logged.void warn(@Nonnull java.lang.String line, @Nonnull java.lang.Throwable exception)
line
- The message to be logged.exception
- An Exception instance related to the current log message.void info(@Nonnull java.lang.String line)
line
- The message to be logged.void info(@Nonnull java.lang.String line, @Nonnull java.lang.Throwable exception)
line
- The message to be logged.exception
- An Exception instance related to the current log message.void debug(@Nonnull java.lang.String line)
line
- The message to be logged.void debug(@Nonnull java.lang.String line, @Nonnull java.lang.Throwable exception)
line
- The message to be logged.exception
- An Exception instance related to the current log message.void fatal(@Nonnull java.lang.String line)
line
- The message to be logged.void fatal(@Nonnull java.lang.String line, @Nonnull java.lang.Throwable exception)
line
- The message to be logged.exception
- An Exception instance related to the current log message.boolean isDebugEnabled()
boolean isInfoEnabled()
boolean isWarnEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()