kjacobsen icon

syslog enums

kjacobsen | PRO | 07/01/14 12:10:07 PM UTC | 0 ⭐ | 23010 👁️ | Never ⏰ | []
PowerShell |

470 B

|

None

|

0 👍

/

0 👎

Add-Type -TypeDefinition @"
    public enum Syslog_Facility
    {
        kern,
        user,
        mail,
        daemon,
        auth,
        syslog,
        lpr,
        news,
        uucp,
        clock,
        authpriv,
        ftp,
        ntp,
        logaudit,
        logalert,
        cron, 
        local0,
        local1,
        local2,
        local3,
        local4,
        local5,
        local6,
        local7,
    }
"@
 
Add-Type -TypeDefinition @"
    public enum Syslog_Severity
    {
        Emergency,
        Alert,
        Critical,
        Error,
        Warning,
        Notice,
        Informational,
        Debug
    }
"@

Comments