SyslogMessage Class
Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9147)
This class represents a Syslog protocol message (RFC 5424).
Syntax
public class SyslogMessage
Inherited Members
Constructors
Name | Description |
---|---|
Syslog |
Initializes a new empty syslog message. |
Syslog |
Initializes a new syslog message. |
Properties
Name | Description |
---|---|
Application |
Gets or sets the application name part of this syslog message. |
Facility | Gets or sets the syslog message facility. |
Hostname | Gets or sets the hostname part of this syslog message. |
Message |
Gets or sets the message ID part of this syslog message. |
Process |
Gets or sets the process ID part of this syslog message. |
Severity | Gets or sets the syslog message severity. |
Text | Gets or sets the message part of this syslog message. |
Timestamp | Gets the timestamp part of the syslog message as supplied by the client. Only available for messages received by a syslog server. |
Methods
Name | Description |
---|---|
Encode(Syslog |
Encodes the message and returns its raw representation. |