log4net SDK Reference |

# RemoteSyslogAppender.GeneratePriority Method

Generate a syslog priority.

[Visual Basic]
Public Shared Function GeneratePriority( _
ByVal facility As SyslogFacility, _
ByVal severity As SyslogSeverity _
) As Integer
[C#]
public static int GeneratePriority(
SyslogFacility facility,
SyslogSeverity severity
);

#### Parameters

facility
  The syslog facility.
severity
  The syslog severity.

#### Return Value

A syslog priority.

#### Remarks

Generate a syslog priority.

#### See Also

RemoteSyslogAppender Class | log4net.Appender Namespace