Class Slf4jLogger
java.lang.Object
com.databricks.jdbc.log.Slf4jLogger
- All Implemented Interfaces:
JdbcLogger
The
Slf4jLogger class implements the JdbcLogger interface, providing an
SLF4J-based logging solution.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlf4jLogger(Class<?> clazz) Constructs a newSlf4jLoggerobject with the specified class.Slf4jLogger(String name) Constructs a newSlf4jLoggerobject with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
logger
protected org.slf4j.Logger logger
-
-
Constructor Details
-
Slf4jLogger
Constructs a newSlf4jLoggerobject with the specified class. -
Slf4jLogger
Constructs a newSlf4jLoggerobject with the specified name.
-
-
Method Details
-
trace
- Specified by:
tracein interfaceJdbcLogger
-
trace
- Specified by:
tracein interfaceJdbcLogger
-
debug
- Specified by:
debugin interfaceJdbcLogger
-
debug
- Specified by:
debugin interfaceJdbcLogger
-
info
- Specified by:
infoin interfaceJdbcLogger
-
info
- Specified by:
infoin interfaceJdbcLogger
-
warn
- Specified by:
warnin interfaceJdbcLogger
-
warn
- Specified by:
warnin interfaceJdbcLogger
-
error
- Specified by:
errorin interfaceJdbcLogger
-
error
- Specified by:
errorin interfaceJdbcLogger
-
error
- Specified by:
errorin interfaceJdbcLogger
-
error
- Specified by:
errorin interfaceJdbcLogger
-