public class GPUdbLogger extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
API_LOGGER_NAME |
protected static String |
DEP_LIB_APACHE_CLIENT_LOGGER |
Constructor and Description |
---|
GPUdbLogger() |
Modifier and Type | Method and Description |
---|---|
static void |
debug_with_info(String message)
Print extra information with the debug message.
|
static void |
debug(String message) |
static void |
error(String message) |
static void |
error(Throwable exception,
String message) |
static void |
info(String message) |
static void |
initializeLogger()
Initializes the default logback logger with the value of the
'logging.level.com.gpudb' system property.
|
static boolean |
isDebugEnabled() |
static boolean |
isTraceEnabled() |
static boolean |
setLoggingLevel(String logLevel)
Dynamically set the default 'logback' logger 'com.gpudb' log level.
|
static void |
trace_with_info(String message)
Print extra information with the trace message.
|
static void |
trace(String message) |
static void |
warn(String message) |
protected static final String API_LOGGER_NAME
protected static final String DEP_LIB_APACHE_CLIENT_LOGGER
public static void initializeLogger()
public static void info(String message)
public static void error(String message)
public static void warn(String message)
public static void debug(String message)
public static void trace(String message)
public static boolean isDebugEnabled()
public static boolean isTraceEnabled()
public static void debug_with_info(String message)
public static void trace_with_info(String message)
public static boolean setLoggingLevel(String logLevel)
logLevel
- One of the supported log levels: TRACE, DEBUG, INFO,
WARN, ERROR, FATAL, OFF. null
value is considered as 'OFF'.Copyright © 2024. All rights reserved.