add_handler
log.Log.add_handler(level=2, name=None, stream=None)
Add an outlet to the logging object.
Parameters
Name | Type | Description | Default |
---|---|---|---|
level |
int | Logging level, by default 2 (INFO) | 2 |
name |
str | Name of the added handler, by default None | None |
stream |
type | Stream to which to send the logging messages. If none is provided, stdout is chosen. By default None | None |