Class SyslogClient
Implements SYSLOG UDP client
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: Azos.Log.Syslog
Assembly: Azos.dll
Syntax
public sealed class SyslogClient : DisposableObject, IDisposable, IConfigurable
Constructors
SyslogClient()
Declaration
public SyslogClient()
SyslogClient(String)
Declaration
public SyslogClient(string host)
Parameters
Type | Name | Description |
---|---|---|
System.String | host |
SyslogClient(String, Int32)
Declaration
public SyslogClient(string host, int port)
Parameters
Type | Name | Description |
---|---|---|
System.String | host | |
System.Int32 | port |
Fields
SYSLOG_PORT
Declaration
public const int SYSLOG_PORT = 514
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Host
Declaration
[Config]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Port
Declaration
[Config]
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Close()
Declaration
public void Close()
Configure(IConfigSectionNode)
Declaration
public void Configure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Destructor()
Declaration
protected override void Destructor()
Overrides
Send(SyslogMessage)
Declaration
public void Send(SyslogMessage message)
Parameters
Type | Name | Description |
---|---|---|
SyslogMessage | message |
Implements
System.IDisposable