Package com.clickhouse.logging
Interface Logger
- All Known Implementing Classes:
JdkLogger,Slf4jLogger
Deprecated.
Unified logger. Pay attention that the
format follows standard
Formatter.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Error message for providing null logger. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Logs a message at the DEBUG level according to the specified format and arguments.voidDeprecated.Logs an error (seeThrowable) at the DEBUG level with an accompanying message.voidDeprecated.Logs output of a custom function at the DEBUG level.voidDeprecated.Logs a message at the ERROR level according to the specified format and arguments.voidDeprecated.Logs an error (seeThrowable) at the ERROR level with an accompanying message.voidDeprecated.Logs output of a custom function at the ERROR level.voidDeprecated.Logs a message at the INFO level according to the specified format and arguments.voidDeprecated.Logs an error (seeThrowable) at the INFO level with an accompanying message.voidDeprecated.Logs output of a custom function at the INFO level.booleanDeprecated.Checks if logging level isDEBUGor above.booleanDeprecated.Checks if logging level isERRORor above.booleanDeprecated.Checks if logging level isINFOor above.booleanDeprecated.Checks if logging level isTRACEor above.booleanDeprecated.Checks if logging level isWARNor above.voidDeprecated.Logs a message at the TRACE level according to the specified format and arguments.voidDeprecated.Logs an error (seeThrowable) at the TRACE level with an accompanying message.voidDeprecated.Logs output of a custom function at the TRACE level.unwrap()Deprecated.Return logger implementation.voidDeprecated.Logs a message at the WARN level according to the specified format and arguments.voidDeprecated.Logs an error (seeThrowable) at the WRAN level with an accompanying message.voidDeprecated.Logs output of a custom function at the WARN level.
-
Field Details
-
ERROR_NULL_LOGGER
Deprecated.Error message for providing null logger.- See Also:
-
-
Method Details
-
isDebugEnabled
boolean isDebugEnabled()Deprecated.Checks if logging level isDEBUGor above.- Returns:
- true if DEBUG level is enabled; false otherwise
-
isErrorEnabled
boolean isErrorEnabled()Deprecated.Checks if logging level isERRORor above.- Returns:
- true if ERROR level is enabled; false otherwise
-
isInfoEnabled
boolean isInfoEnabled()Deprecated.Checks if logging level isINFOor above.- Returns:
- true if INFO level is enabled; false otherwise
-
isWarnEnabled
boolean isWarnEnabled()Deprecated.Checks if logging level isWARNor above.- Returns:
- true if WARN level is enabled; false otherwise
-
isTraceEnabled
boolean isTraceEnabled()Deprecated.Checks if logging level isTRACEor above.- Returns:
- true if TRACE level is enabled; false otherwise
-
debug
Deprecated.Logs output of a custom function at the DEBUG level. The function will only run when log level is DEBUG or lower.- Parameters:
function- custom function to run
-
debug
Deprecated.Logs a message at the DEBUG level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of arguments, the last one could be aThrowable
-
debug
Deprecated.Logs an error (seeThrowable) at the DEBUG level with an accompanying message.- Parameters:
message- the message accompanying the errort- the error to log
-
error
Deprecated.Logs output of a custom function at the ERROR level. The function will only run when log level is ERROR or lower.- Parameters:
function- custom function to run
-
error
Deprecated.Logs a message at the ERROR level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of arguments, the last one could be aThrowable
-
error
Deprecated.Logs an error (seeThrowable) at the ERROR level with an accompanying message.- Parameters:
message- the message accompanying the errort- the error to log
-
info
Deprecated.Logs output of a custom function at the INFO level. The function will only run when log level is INFO or lower.- Parameters:
function- custom function to run
-
info
Deprecated.Logs a message at the INFO level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of arguments, the last one could be aThrowable
-
info
Deprecated.Logs an error (seeThrowable) at the INFO level with an accompanying message.- Parameters:
message- the message accompanying the errort- the error to log
-
trace
Deprecated.Logs output of a custom function at the TRACE level. The function will only run when log level is TRACE.- Parameters:
function- custom function to run
-
trace
Deprecated.Logs a message at the TRACE level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of arguments, the last one could be aThrowable
-
trace
Deprecated.Logs an error (seeThrowable) at the TRACE level with an accompanying message.- Parameters:
message- the message accompanying the errort- the error to log
-
warn
Deprecated.Logs output of a custom function at the WARN level. The function will only run when log level is WARN or lower.- Parameters:
function- custom function to run
-
warn
Deprecated.Logs a message at the WARN level according to the specified format and arguments.- Parameters:
format- the format stringarguments- a list of arguments, the last one could be aThrowable
-
warn
Deprecated.Logs an error (seeThrowable) at the WRAN level with an accompanying message.- Parameters:
message- the message accompanying the errort- the error to log
-
unwrap
Object unwrap()Deprecated.Return logger implementation.- Returns:
- implementation
-