Represents the MSG part of a syslog packet.
The MSG part of the packet consists of the TAG and CONTENT. The TAG
and the CONTENT fields must be separated by a non-alphanumeric character.
Unless you ensure that the CONTENT field begins with such a character a
seperator of a colon and space will be inserted between them when the
MsgPart object is converted into a UDP packet.
See Section 4.1.3 of RFC 3164 for details.
| Method Summary |
| |
__init__(self,
tag,
content,
pid)
Initialise the object, specifying tag and content. |
| |
__str__(self)
|
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |