15 references to ILogger
Microsoft.CodeAnalysis.CodeStyle (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (13)
21
private static
ILogger
? s_currentLogger;
31
public static
ILogger
? SetLogger(
ILogger
? logger)
40
public static
ILogger
? GetLogger()
43
private static bool TryGetActiveLogger(FunctionId functionId, [NotNullWhen(true)] out
ILogger
? activeLogger)
45
var
logger = s_currentLogger;
61
if (TryGetActiveLogger(functionId, out
var
logger))
73
if (TryGetActiveLogger(functionId, out
var
logger))
88
if (TryGetActiveLogger(functionId, out
var
logger))
102
if (TryGetActiveLogger(functionId, out
var
logger))
116
if (TryGetActiveLogger(functionId, out
var
logger))
130
if (TryGetActiveLogger(functionId, out
var
logger))
143
if (TryGetActiveLogger(functionId, out
var
logger))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.LogBlock.cs (2)
36
private
ILogger
? _logger;
44
public void Construct(
ILogger
logger, FunctionId functionId, LogMessage logMessage, int blockId, CancellationToken cancellationToken)