SyslogClient.Send Method
Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9119)
Send(SyslogMessage)
Sends a message to the connected syslog server.
Declaration
public void Send(SyslogMessage message)
Parameters
Type | Name | Description |
---|---|---|
SyslogMessage | message | A syslog message to be sent. |
Send(String, SyslogSeverity, SyslogFacility)
Sends a message to the connected syslog server.
Declaration
public void Send(string message, SyslogSeverity severity = SyslogSeverity.Informational, SyslogFacility facility = SyslogFacility.User)
Parameters
Type | Name | Description |
---|---|---|
String | message | A message to be sent. |
SyslogSeverity | severity | Message severity. |
SyslogFacility | facility | Message facility. |