2 instantiations of LogSwitch
mscorlib (2)
system\bcldebug.cs (1)
196LogSwitch L = new LogSwitch(switches[i].name, switches[i].name, System.Diagnostics.Log.GlobalSwitch);
system\diagnostics\log.cs (1)
72GlobalSwitch = new LogSwitch ("Global", "Global Switch for this log");
34 references to LogSwitch
mscorlib (34)
system\bcldebug.cs (11)
142LogSwitch ls; 143ls = LogSwitch.GetSwitch(switchName); 196LogSwitch L = new LogSwitch(switches[i].name, switches[i].name, System.Diagnostics.Log.GlobalSwitch); 216LogSwitch logSwitch = LogSwitch.GetSwitch(switchName); 224private static bool CheckEnabled(String switchName, LogLevel level, out LogSwitch logSwitch) { 230logSwitch = LogSwitch.GetSwitch(switchName); 245LogSwitch logSwitch; 283LogSwitch logSwitch; 316LogSwitch logSwitch; 331LogSwitch logSwitch;
system\diagnostics\log.cs (18)
27internal delegate void LogMessageEventHandler(LoggingLevels level, LogSwitch category, 37internal delegate void LogSwitchLevelHandler(LogSwitch ls, LoggingLevels newLevel); 59public static readonly LogSwitch GlobalSwitch; 106internal static void InvokeLogSwitchLevelHandlers (LogSwitch ls, LoggingLevels newLevel) 140public static void LogMessage(LoggingLevels level, LogSwitch logswitch, String message) 170public static void Trace(LogSwitch logswitch, String message) 177LogSwitch ls; 178ls = LogSwitch.GetSwitch (switchname); 187public static void Status(LogSwitch logswitch, String message) 194LogSwitch ls; 195ls = LogSwitch.GetSwitch (switchname); 204public static void Warning(LogSwitch logswitch, String message) 211LogSwitch ls; 212ls = LogSwitch.GetSwitch (switchname); 221public static void Error(LogSwitch logswitch, String message) 228LogSwitch ls; 229ls = LogSwitch.GetSwitch (switchname); 249internal static extern void AddLogSwitch(LogSwitch logSwitch);
system\diagnostics\logswitch.cs (5)
22private LogSwitch ParentSwitch; 38public LogSwitch(String name, String description, LogSwitch parent) 93public virtual LogSwitch Parent 139public static LogSwitch GetSwitch(String name) 141return (LogSwitch)Log.m_Hashtable[name];