add_file_handler
log.Logger.add_file_handler(dst, level=2, filename=None)Add an outlet directed to a file.
Parameters
| Name | Type | Description | Default | 
|---|---|---|---|
| dst | str | The destination of the file, i.e. the path. | required | 
| level | int | Logging level. | 2 | 
| filename | str | The name of the file, also the identifier for the stream handler. | None |