Sets global logger options that apply to all loggers created via getGlobalLogger()
getGlobalLogger()
This allows you to configure logging behavior across the entire SDK from a single point. Changes affect all future logger instances created with getGlobalLogger().
Partial logger options to merge with current global settings
// Set global log level to debugsetGlobalLoggerOptions({ level: 'debug' })// Disable timestamps and colorssetGlobalLoggerOptions({ timestamp: false, colors: false})// Use custom log handlersetGlobalLoggerOptions({ handler: myCustomHandler}) Copy
// Set global log level to debugsetGlobalLoggerOptions({ level: 'debug' })// Disable timestamps and colorssetGlobalLoggerOptions({ timestamp: false, colors: false})// Use custom log handlersetGlobalLoggerOptions({ handler: myCustomHandler})
Sets global logger options that apply to all loggers created via
getGlobalLogger()This allows you to configure logging behavior across the entire SDK from a single point. Changes affect all future logger instances created with
getGlobalLogger().