FileLogger Class
Represents a process-wide singleton that emits SDK log traces to a provided file.
Constructor
FileLogger()
Methods
start |
Starts logging to a file. to the existing file. Otherwise a new file will be created (this is the default). |
stop |
Stop logging to a file. |
start
Starts logging to a file.
to the existing file. Otherwise a new file will be created (this is the default).
static start(file_name: str, append: bool = False)
Parameters
Name | Description |
---|---|
file_name
Required
|
|
append
|
Default value: False
|
stop
Stop logging to a file.
static stop()