ConsoleLogger Class
Represents a process-wide singleton that emits SDK log traces to the console.
Constructor
ConsoleLogger()
Methods
start |
Starts logging to the console. default. Otherwise they will be written to the standard output (STDOUT). |
stop |
Stop logging to a the console. |
start
Starts logging to the console.
default. Otherwise they will be written to the standard output (STDOUT).
static start(log_to_stderr: bool = True)
Parameters
Name | Description |
---|---|
log_to_stderr
|
Default value: True
|
stop
Stop logging to a the console.
static stop()