Exceptions & Warnings¶
- class zlogging._exc.ParserError(msg, lineno=None, field=None)[source]¶
Bases:
ZeekException
,ValueError
Error when parsing logs.
- Parameters:
- class zlogging._exc.JSONParserError(msg, lineno=None, field=None)[source]¶
Bases:
ParserError
,JSONDecodeError
Error when parsing JSON log.
- class zlogging._exc.ASCIIParserError(msg, lineno=None, field=None)[source]¶
Bases:
ParserError
Error when parsing ASCII log.
- class zlogging._exc.WriterError(msg, lineno=None, field=None)[source]¶
Bases:
ZeekException
,TypeError
Error when writing logs.
- Parameters:
- class zlogging._exc.JSONWriterError(msg, lineno=None, field=None)[source]¶
Bases:
WriterError
Error when writing JSON logs.
- class zlogging._exc.ASCIIWriterError(msg, lineno=None, field=None)[source]¶
Bases:
WriterError
Error when writing ASCII logs.
- class zlogging._exc.WriterFormatError(msg, lineno=None, field=None)[source]¶
Bases:
WriterError
,ValueError
Unsupported format.
- class zlogging._exc.ParserWarning[source]¶
Bases:
ZeekWarning
,UserWarning
Warning when parsing logs.
- class zlogging._exc.JSONParserWarning[source]¶
Bases:
ParserWarning
Warning when parsing logs in JSON format.
- class zlogging._exc.ASCIIParserWarning[source]¶
Bases:
ParserWarning
Warning when parsing logs in ASCII format.