33 references to TraceLevel
Microsoft.CodeAnalysis.LanguageServer (6)
Testing\RunTestsHandler.cs (6)
155
private static
TraceLevel
GetTraceLevel(ServerConfiguration serverConfiguration)
160
Microsoft.Extensions.Logging.LogLevel.Trace or Microsoft.Extensions.Logging.LogLevel.Debug =>
TraceLevel
.Verbose,
161
Microsoft.Extensions.Logging.LogLevel.Information =>
TraceLevel
.Info,
162
Microsoft.Extensions.Logging.LogLevel.Warning =>
TraceLevel
.Warning,
163
Microsoft.Extensions.Logging.LogLevel.Error or Microsoft.Extensions.Logging.LogLevel.Critical =>
TraceLevel
.Error,
164
Microsoft.Extensions.Logging.LogLevel.None =>
TraceLevel
.Off,
netstandard (1)
netstandard.cs (1)
706
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceLevel
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
544
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceLevel
))]
System.Diagnostics.TraceSource (19)
System\Diagnostics\TraceSwitch.cs (19)
12
[SwitchLevel(typeof(
TraceLevel
))]
30
public
TraceLevel
Level
34
return (
TraceLevel
)SwitchSetting;
39
if (value <
TraceLevel
.Off || value >
TraceLevel
.Verbose)
51
public bool TraceError => Level >=
TraceLevel
.Error;
58
public bool TraceWarning => Level >=
TraceLevel
.Warning;
65
public bool TraceInfo => Level >=
TraceLevel
.Info;
72
public bool TraceVerbose => Level ==
TraceLevel
.Verbose;
82
if (level < (int)
TraceLevel
.Off)
85
SwitchSetting = (int)
TraceLevel
.Off;
87
else if (level > (int)
TraceLevel
.Verbose)
90
SwitchSetting = (int)
TraceLevel
.Verbose;
97
TraceLevel
level = Enum.Parse<
TraceLevel
>(Value, true);
99
if (level <
TraceLevel
.Off)
101
level =
TraceLevel
.Off;
103
else if (level >
TraceLevel
.Verbose)
105
level =
TraceLevel
.Verbose;
WindowsFormsIntegration (6)
System\Windows\Integration\ElementHost.cs (5)
644
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Info, "Inside SyncHwndSrcImeStatus(), this = " + this);
681
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Verbose, "SetChildElementsIsImeEnabled, element = " + element);
702
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Info, "Inside OnHwndSrcWmInputLangChange(), this = " + this);
731
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Info, "Inside OnHwndSrcWmImeNotify(), this = " + this);
762
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Verbose, "Inside OnHwndSourceMsgNotifyElementHost()");
System\Windows\Integration\WindowsFormsHost.cs (1)
92
Debug.WriteLineIf(HostUtils.ImeMode.Level >=
TraceLevel
.Info, "Inside SyncChildImeEnabledContext(), this = " + this);