| SyslogMessage Class |
Namespace: SyslogNet.Client
The SyslogMessage type exposes the following members.
| Name | Description | |
|---|---|---|
| SyslogMessage(Severity, String, String) | Obsolete.
Initializes a new instance of the SyslogMessage class
for sending a local syslog message with the default facility.
| |
| SyslogMessage(Facility, Severity, String, String) | Obsolete.
Initializes a new instance of the SyslogMessage class
for sending a local syslog message.
| |
| SyslogMessage(NullableDateTimeOffset, Facility, Severity, String, String, String) |
Initializes a new instance of the SyslogMessage class
for sending a RFC 3164 message.
| |
| SyslogMessage(NullableDateTimeOffset, Facility, Severity, String, String, String, String, String, StructuredDataElement) |
Initializes a new instance of the SyslogMessage class
for sending a RFC 5424 message.
|
| Name | Description | |
|---|---|---|
| AppName |
Gets the application name.
| |
| DateTimeOffset |
Gets the timestamp.
| |
| Facility |
Gets the facility.
| |
| HostName |
Gets the host name.
| |
| Message |
Gets the message text.
| |
| MsgId |
Gets the message identifier.
| |
| ProcId |
Gets the process identifier.
| |
| Severity |
Gets the severity.
| |
| StructuredDataElements |
Gets the structured data.
| |
| Version |
Gets the protocol version.
|
| Name | Description | |
|---|---|---|
| Create |
Creates an instance of the SyslogMessage class
for sending a local syslog message.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| DefaultFacility | Obsolete.
Default message facility.
| |
| DefaultSeverity | Obsolete.
Default message severity.
|