ProtocolDetector NamespaceΒΆ

Namespace: ProtocolDetector.

class zlogging.enum.protocol_detector.dir(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: ProtocolDetector::dir.

NONE = 1
INCOMING = 2
OUTGOING = 4
BOTH = 8
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None