public final class Logging extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configure(LoggingConfig config,
Logger logger)
Set the callback that will receive all the log messages
There is only a single globally allocated logger.
|
public static void configure(LoggingConfig config, Logger logger)
There is only a single globally allocated logger. Calling this method a second time will return an error.
If this method is never called, no logging will be performed.
config
- Configuration options for logginglogger
- Logger that will receive each logged messageParamException
- ParamErrorCopyright © 2021. All rights reserved.