Package com.databricks.jdbc.log
Class Slf4jLogger
- java.lang.Object
-
- com.databricks.jdbc.log.Slf4jLogger
-
- All Implemented Interfaces:
JdbcLogger
public class Slf4jLogger extends Object implements JdbcLogger
TheSlf4jLoggerclass implements theJdbcLoggerinterface, providing an SLF4J-based logging solution.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description Slf4jLogger(Class<?> clazz)Constructs a newSlf4jLoggerobject with the specified class.Slf4jLogger(String name)Constructs a newSlf4jLoggerobject with the specified name.
-
-
-
Method Detail
-
trace
public void trace(String message)
- Specified by:
tracein interfaceJdbcLogger
-
debug
public void debug(String message)
- Specified by:
debugin interfaceJdbcLogger
-
info
public void info(String message)
- Specified by:
infoin interfaceJdbcLogger
-
warn
public void warn(String message)
- Specified by:
warnin interfaceJdbcLogger
-
error
public void error(String message)
- Specified by:
errorin interfaceJdbcLogger
-
error
public void error(String message, Throwable throwable)
- Specified by:
errorin interfaceJdbcLogger
-
-