setup_default_log
log.setup_default_log(name, level, dst=None)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 | None | The path to where the logging file will be located. | None |
Returns
| Name | Type | Description |
|---|---|---|
Logger |
A Logger object (for logging, no really..) |