Data Classes¶
Predefined Data Classes¶
- class zlogging._data.ASCIIInfo(path, open, close, data, exit_with_error)[source]¶
Bases:
InfoParsed log info for ASCII logs.
The ASCII log will be stored as in this
dataclass, as introduced in PEP 557.- Parameters:
path – The value is specified in the ASCII log file under
# pathdirective.open – The value is specified in the ASCII log file under
# opendirective.close – The value is specified in the ASCII log file under
# closedirective.exit_with_error – When exit with error, the ASCII log file doesn’t has a
# closedirective.
- path: PathLike[str]¶
Log path. The value is specified in the ASCII log file under
# pathdirective.
- open: DateTimeType¶
Log open time. The value is specified in the ASCII log file under
# opendirective.
- close: DateTimeType¶
Log close time. The value is specified in the ASCII log file under
# closedirective.
- exit_with_error: bool¶
Log exit with error. When exit with error, the ASCII log file doesn’t has a
# closedirective.