Generate a syslog priority.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public static int GeneratePriority(
RemoteSyslogAppender..::..SyslogFacility facility,
RemoteSyslogAppender..::..SyslogSeverity severity
)
public static int GeneratePriority(
RemoteSyslogAppender..::..SyslogFacility facility,
RemoteSyslogAppender..::..SyslogSeverity severity
)
Public Shared Function GeneratePriority (
facility As RemoteSyslogAppender..::..SyslogFacility,
severity As RemoteSyslogAppender..::..SyslogSeverity
) As Integer
Public Shared Function GeneratePriority (
facility As RemoteSyslogAppender..::..SyslogFacility,
severity As RemoteSyslogAppender..::..SyslogSeverity
) As Integer
public:
static int GeneratePriority(
RemoteSyslogAppender..::..SyslogFacility facility,
RemoteSyslogAppender..::..SyslogSeverity severity
)
public:
static int GeneratePriority(
RemoteSyslogAppender..::..SyslogFacility facility,
RemoteSyslogAppender..::..SyslogSeverity severity
)
Return Value
Type:
Int32A syslog priority.
Generate a syslog priority.