A class instance or a class string name.
Resets the global logger factory to undefined.
This typically only needs to be called during testing. Call this at your own risk.
Sets the global logger factory. This will cause all loggers created by getLoggerFor to be delegated to a logger from the given factory.
A logger factory.
Gets a logger instance for the given class instance.
The returned type of logger depends on the configured LoggerFactory in {@link Setup}.
The following shows a typical pattern on how to create loggers:
If no class is applicable, a logger can also be created as follows: