class LogForwardingConfig: (source)
Configuration for log forwarding from Core.
Configuring this will send logs from Core to the given Python logger. By default, log timestamps are overwritten and internally throttled/buffered for a few milliseconds to prevent overloading Python. This means those log records may have a time in the past and technically may appear out of order with Python-originated log messages by a few milliseconds.
If for some reason lots of logs occur within the buffered time (i.e. thousands), they may be sent earlier. Users are discouraged from using this with TRACE Core logging.
All log records produced have a temporal_log attribute that contains a representation of the Core log. This representation has a fields attribute which has arbitrary extra data from Core. By default a string representation of this extra fields attribute is appended to the message.
Warning
This API is experimental
Class Variable | append |
If true, the default, the extra fields dict is appended to the message. |
Class Variable | append |
If true, the default, the target is appended to the name. |
Class Variable | logger |
Core logger messages will be sent to this logger. |
Class Variable | overwrite |
If true, the default, the log record time is overwritten with the core log time. |
Class Variable | prepend |
If true, the default, the target is appended to the name. |
Instance Variable | relative |
Undocumented |
Method | _on |
Undocumented |