Package com.clickhouse.logging
Class LogMessage
java.lang.Object
com.clickhouse.logging.LogMessage
Deprecated.
Log message with arguments and/or error.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets log message.Deprecated.Gets error which may or may not be null.booleanDeprecated.Checks if error is available or not.static LogMessageDeprecated.Creates a log message with arguments.
-
Method Details
-
of
Deprecated.Creates a log message with arguments. The latest argument could be ajava.lang.Throwableproviding details like stack trace of an error.- Parameters:
format- Object format, could be nullarguments- arguments, could be null or empty- Returns:
- log message
-
getMessage
Deprecated.Gets log message.- Returns:
- non-null log message
-
getThrowable
Deprecated.Gets error which may or may not be null.- Returns:
- error, could be null
-
hasThrowable
public boolean hasThrowable()Deprecated.Checks if error is available or not.- Returns:
- true if there's error; false otherwise
-