GetSwitch() публичный статический Метод

public static GetSwitch ( String name ) : LogSwitch
name String
Результат LogSwitch
Пример #1
0
        /// <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);
        }
Пример #2
0
        /// <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);
        }
Пример #3
0
 public static void Error(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.ErrorLevel, LogSwitch.GetSwitch(switchname), message);
 }
Пример #4
0
 public static void Status(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.StatusLevel0, LogSwitch.GetSwitch(switchname), message);
 }
Пример #5
0
 public static void Trace(string switchname, string message)
 {
     Log.LogMessage(LoggingLevels.TraceLevel0, LogSwitch.GetSwitch(switchname), message);
 }
Пример #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);
        }