setup_default_log
log.setup_default_log(name, level, dst)
Set up the base logger of a hierarchy.
It’s advisable to make this a single string that is not concatenated by period. E.g. ‘fiat’ is correct, ‘fiat.logging’ is not.
Parameters
Name | Type | Description | Default |
---|---|---|---|
name |
str | Identifier of the logger. | required |
level |
int | Logging level. | required |
dst |
str | The path to where the logging file will be located. | required |
Returns
Type | Description |
---|---|
Log |
A Log object (for logging, no really..) |