SyslogMessage Class
Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9083)
This class represents a Syslog protocol message (RFC 5424).
Syntax
public class SyslogMessage
Inherited Members
Constructors
Name | Description |
---|---|
SyslogMessage() | Initializes a new empty syslog message. |
SyslogMessage(String) | Initializes a new syslog message. |
Properties
Name | Description |
---|---|
ApplicationName | 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. |
MessageId | Gets or sets the message ID part of this syslog message. |
ProcessId | 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(SyslogMessageFormat, Encoding) | Encodes the message and returns its raw representation. |