Package com.clickhouse.client.logging
Class Slf4jLoggerFactory
- java.lang.Object
-
- com.clickhouse.client.logging.LoggerFactory
-
- com.clickhouse.client.logging.Slf4jLoggerFactory
-
public class Slf4jLoggerFactory extends LoggerFactory
Adaptor of slf4j logger factory.
-
-
Constructor Summary
Constructors Constructor Description Slf4jLoggerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
get(Class<?> clazz)
Gets logger for the given class.Logger
get(String name)
Gets logger for the given name.-
Methods inherited from class com.clickhouse.client.logging.LoggerFactory
getInstance, getLogger, getLogger
-
-
-
-
Method Detail
-
get
public Logger get(Class<?> clazz)
Description copied from class:LoggerFactory
Gets logger for the given class.- Overrides:
get
in classLoggerFactory
- Parameters:
clazz
- class- Returns:
- logger for the given class
-
get
public Logger get(String name)
Description copied from class:LoggerFactory
Gets logger for the given name.- Specified by:
get
in classLoggerFactory
- Parameters:
name
- name- Returns:
- logger for the given name
-
-