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