levelToString() public static method

public static levelToString ( int level ) : string
level int
return string
Esempio n. 1
0
 public EventValue(string hostname, long timestamp, int nLevel, string title, string message, long id, string source)
 {
     Level     = EventValue.levelToString(nLevel);
     Timestamp = timestamp;
     Title     = title;
     Message   = message;
     HostName  = hostname;
     Id        = id;
     Source    = source;
 }
        public EventValue(string hostname, long timestamp, int nLevel, string title, string message, long id)
        {
            Level     = EventValue.levelToString(nLevel);
            Timestamp = timestamp;
            Title     = title;
            Message   = message;
            HostName  = hostname;
            Id        = id;

            PluginName         = "WindowsEvent";
            PluginInstanceName = "";
            TypeName           = "";
            TypeInstanceName   = "";
        }