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