Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

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
Inheritance
Object
SyslogMessage
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Constructors
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies