2 implementations of ICompilerServerLogger
VBCSCompiler (2)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (2)
97internal sealed class CompilerServerLogger : ICompilerServerLogger, IDisposable 166internal sealed class EmptyCompilerServerLogger : ICompilerServerLogger
40 references to ICompilerServerLogger
VBCSCompiler (40)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (4)
30internal static void Log(this ICompilerServerLogger logger, string format, params object?[] arguments) 38internal static void LogError(this ICompilerServerLogger logger, string message) 46internal static void LogError(this ICompilerServerLogger logger, string format, params object?[] arguments) 57internal static void LogException(this ICompilerServerLogger logger, Exception exception, string reason)
src\Compilers\Server\VBCSCompiler\AnalyzerConsistencyChecker.cs (3)
47ICompilerServerLogger logger) => Check(baseDirectory, analyzerReferences, loader, logger, out var _); 53ICompilerServerLogger logger, 79ICompilerServerLogger logger,
src\Compilers\Server\VBCSCompiler\BuildServerController.cs (5)
29private readonly ICompilerServerLogger _logger; 31internal BuildServerController(NameValueCollection appSettings, ICompilerServerLogger logger) 89internal static IClientConnectionHost CreateClientConnectionHost(string pipeName, ICompilerServerLogger logger) => new NamedPipeClientConnectionHost(pipeName, logger); 91internal static ICompilerServerHost CreateCompilerServerHost(ICompilerServerLogger logger) 145ICompilerServerLogger? logger = null,
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
23internal ICompilerServerLogger Logger => CompilerServerHost.Logger;
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (2)
63public ICompilerServerLogger Logger { get; } 70internal CompilerServerHost(string clientDirectory, string? sdkDirectory, ICompilerServerLogger logger)
src\Compilers\Server\VBCSCompiler\ICompilerServerHost.cs (1)
18ICompilerServerLogger Logger { get; }
src\Compilers\Server\VBCSCompiler\MemoryHelper.cs (1)
35public static bool IsMemoryAvailable(ICompilerServerLogger logger)
src\Compilers\Server\VBCSCompiler\NamedPipeClientConnection.cs (2)
24public ICompilerServerLogger Logger { get; } 29internal NamedPipeClientConnection(NamedPipeServerStream stream, ICompilerServerLogger logger)
src\Compilers\Server\VBCSCompiler\NamedPipeClientConnectionHost.cs (3)
38public ICompilerServerLogger Logger { get; } 41internal NamedPipeClientConnectionHost(string pipeName, ICompilerServerLogger logger) 169ICompilerServerLogger logger,
src\Compilers\Server\VBCSCompiler\ServerDispatcher.cs (1)
55private readonly ICompilerServerLogger _logger;
src\Compilers\Shared\BuildClient.cs (4)
51private readonly ICompilerServerLogger _logger; 59internal BuildClient(ICompilerServerLogger logger, RequestLanguage language, CompileFunc compileFunc, CompileOnServerFunc compileOnServerFunc) 101ICompilerServerLogger logger) 199public static CompileOnServerFunc GetCompileOnServerFunc(ICompilerServerLogger logger) => (buildRequest, pipeName, cancellationToken) =>
src\Compilers\Shared\BuildServerConnection.cs (10)
92ICompilerServerLogger logger, 161ICompilerServerLogger logger, 175Func<string, ICompilerServerLogger, bool> tryCreateServerFunc, 176ICompilerServerLogger logger, 203ICompilerServerLogger logger, 204Func<string, ICompilerServerLogger, bool> tryCreateServerFunc, 280ICompilerServerLogger logger, 341ICompilerServerLogger logger, 374ICompilerServerLogger logger, 449internal static bool TryCreateServer(string clientDirectory, string pipeName, ICompilerServerLogger logger, out int processId)
src\Compilers\Shared\ExitingTraceListener.cs (3)
21internal ICompilerServerLogger Logger { get; } 23internal ExitingTraceListener(ICompilerServerLogger logger) 38internal static void Install(ICompilerServerLogger logger)