Package org.mariadb.jdbc.util.log
Class Loggers
java.lang.Object
org.mariadb.jdbc.util.log.Loggers
Loggers factory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static class
JDK wrapperprivate static interface
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
set if console must log debug levelstatic final String
defined if using JDK if sfl4j is not present.private static Loggers.LoggerFactory
factorystatic final String
disable loggingstatic final String
!! testing only !! permit to disable SLF4J implementation even if SLF4j is present -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FALLBACK_PROPERTY
defined if using JDK if sfl4j is not present. possible values: JDK/CONSOLE- See Also:
-
CONSOLE_DEBUG_PROPERTY
set if console must log debug level- See Also:
-
TEST_ENABLE_SLF4J
!! testing only !! permit to disable SLF4J implementation even if SLF4j is present- See Also:
-
NO_LOGGER_PROPERTY
disable logging- See Also:
-
LOGGER_FACTORY
factory
-
-
Constructor Details
-
Loggers
public Loggers()
-
-
Method Details
-
getLogger
Return default logger implementation- Parameters:
name
- logger name- Returns:
- logger implementation
-
getLogger
Return default logger implementation- Parameters:
cls
- class- Returns:
- logger implementation
-
init
public static void init()Initialize factory
-