public final class LoggerConfig
extends java.lang.Object
Meter, Watcher and Reporter common logging behavior.
Initial values are read from system properties at application startup, if available.
They may be assigned at application startup, before calling any Meter or Watcher methods.
Some properties allow reassigning their values later at runtime.| Modifier and Type | Field and Description |
|---|---|
static boolean |
hackJulEnable
Use JUL instead of SLF4J.
|
static boolean |
hackJulReplaceSource
When using JUL instead of SLF4J, inform operation name as class and method name instead of logger name.
|
public static boolean hackJulEnable
slf4jtoys.hack.jul.enable at application startup, defaults to false.
You may assign a new value at runtime.public static boolean hackJulReplaceSource
slf4jtoys.hack.jul.replaceSource at application startup, defaults to false.
You may assign a new value at runtime.