Class SyslogDestination
Implements destination that sends messages to UNIX syslog using UDP datagrams
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Log.Destinations
Assembly: NFX.dll
Syntax
public class SyslogDestination : Destination, IApplicationComponent, IDisposable, IConfigurable, IExternallyParameterized
Constructors
SyslogDestination()
Creates a new instance of destination that sends messages to .nix SYSLOG
Declaration
public SyslogDestination()
SyslogDestination(String, String, Int32)
Creates a new instance of destination that sends messages to .nix SYSLOG
Declaration
public SyslogDestination(string name, string host, int port)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | host | |
System.Int32 | port |
Properties
Client
References the underlying syslog client instance
Declaration
public SyslogClient Client { get; }
Property Value
Type | Description |
---|---|
SyslogClient |
Methods
Close()
Declaration
public override void Close()
Overrides
Destructor()
Declaration
protected override void Destructor()
Overrides
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoSend(Message)
Declaration
protected override void DoSend(Message entry)
Parameters
Type | Name | Description |
---|---|---|
Message | entry |
Overrides
Implements
System.IDisposable