config
logging_config(level=None, json_file='')
¶
Apply a configuration to the logs.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
level |
int | None
|
The logging level, defaults to INFO. |
None
|
json_file |
str
|
Optional file name where to store each log record as json. |
''
|