java.util.logging.Logger ). By default, the Console
fallback is used. To use the JDK loggers, set the reactor.logging.fallback
System property to "JDK".
One can also force the implementation by using the "useXXX" static methods:
useConsoleLoggers(), useVerboseConsoleLoggers(), useJdkLoggers()
and useSl4jLoggers() (which may throw an Exception if the library isn't on the
classpath). Note that the system property method above is preferred, as no cleanup of
the logger factory initialized at startup is attempted by the useXXX methods.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | Loggers.ConsoleLogger
A |
| pack-priv static class | |
| private static class | Loggers.ConsoleLoggerKey
A key object to serve a dual purpose:
|
| pack-priv static class | Loggers.JdkLogger
Wrapper over JDK logger |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FALLBACK_PROPERTY
The system property that determines which fallback implementation to use for loggers when SLF4J isn't available. |
| private static Function |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static Logger | |
| public static Logger | |
| pack-priv static boolean | Returns: true if falling back to JDK, false for Console.Return true if |
| public static void | resetLoggerFactory()
Attempt to activate the best |
| public static void | useConsoleLoggers()
Force the usage of Console-based |
| public static void | |
| public static void | |
| public static void | useSl4jLoggers()
Force the usage of SL4J-based |
| public static void | useVerboseConsoleLoggers()
Force the usage of Console-based |