Generate a syslog priority.
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
public static int GeneratePriority( RemoteSyslogAppenderSyslogFacility facility, RemoteSyslogAppenderSyslogSeverity severity )
Parameters
- facility
- Type: log4net.AppenderRemoteSyslogAppenderSyslogFacility
The syslog facility. - severity
- Type: log4net.AppenderRemoteSyslogAppenderSyslogSeverity
The syslog severity.
Return Value
Type: Int32A syslog priority.
Remarks
Generate a syslog priority.
See Also