GetSwitch() public static method

public static GetSwitch ( String name ) : LogSwitch
name String
return LogSwitch
Esempio n. 1
0
File: log.cs Progetto: ydunk/masters
        /// <include file='doc\log.uex' path='docs/doc[@for="Log.Panic1"]/*' />
        public static void Panic(String switchname, String message)
        {
            LogSwitch ls;

            ls = LogSwitch.GetSwitch(switchname);
            LogMessage(LoggingLevels.PanicLevel, ls, message);
        }
Esempio n. 2
0
File: log.cs Progetto: ydunk/masters
        /// <include file='doc\log.uex' path='docs/doc[@for="Log.Status1"]/*' />
        public static void Status(String switchname, String message)
        {
            LogSwitch ls;

            ls = LogSwitch.GetSwitch(switchname);
            LogMessage(LoggingLevels.StatusLevel0, ls, message);
        }
Esempio n. 3
0
 public static void Error(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.ErrorLevel, LogSwitch.GetSwitch(switchname), message);
 }
Esempio n. 4
0
 public static void Status(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.StatusLevel0, LogSwitch.GetSwitch(switchname), message);
 }
Esempio n. 5
0
 public static void Trace(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.TraceLevel0, LogSwitch.GetSwitch(switchname), message);
 }
Esempio n. 6
0
        // Token: 0x06003229 RID: 12841 RVA: 0x000C06F4 File Offset: 0x000BE8F4
        public static void Warning(string switchname, string message)
        {
            LogSwitch @switch = LogSwitch.GetSwitch(switchname);

            Log.LogMessage(LoggingLevels.WarningLevel, @switch, message);
        }