2 implementations of Log
VBCSCompiler (2)
src\roslyn\src\Compilers\Shared\CompilerServerLogger.cs (2)
142
public void
Log
(string message)
205
public void
Log
(string message)
58 references to Log
VBCSCompiler (58)
src\roslyn\src\Compilers\Server\VBCSCompiler\AnalyzerConsistencyChecker.cs (2)
60
logger.
Log
($"Begin Analyzer Consistency Check for {baseDirectory}");
72
logger?.
Log
("End Analyzer Consistency Check");
src\roslyn\src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (2)
53
Logger.
Log
($"Received request {request.RequestId} of type {request.GetType()}");
106
Logger.
Log
(message);
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilationCache.cs (23)
79
logger.
Log
($"Compilation cache enabled at: {cachePath}");
111
logger.
Log
("Compilation cache disabled because LocalApplicationData is unavailable.");
162
logger.
Log
($"Cache miss because entry is being populated: {dllName} [{hashKey}]");
178
logger.
Log
($"Cache miss because entry is missing required output files: {dllName} [{hashKey}]");
182
logger.
Log
($"Cache hit: {dllName} [{hashKey}]");
191
logger.
Log
($"Cache hit restore failed, falling through to compilation: {ex.Message}");
240
logger.
Log
($"Cache miss: {dllName} [{hashKey}]");
278
logger.
Log
($"Cache miss {dllName} [{hashKey}] diff vs entry [{entryName}]:{Environment.NewLine}{diff}");
308
logger.
Log
($"Cache store skipped because another writer is populating: {dllName} [{hashKey}]");
316
logger.
Log
($"Cache store skipped because entry already exists: {dllName} [{hashKey}]");
337
logger.
Log
($"Cache stored: {dllName} [{hashKey}]");
342
logger.
Log
($"Cache store failed for {dllName} [{hashKey}]: {ex.Message}");
358
logger.
Log
($"Cache cleanup failed for {dllName} [{hashKey}]: {ex.Message}");
362
logger.
Log
($"Cache cleanup failed for {dllName} [{hashKey}]: {ex.Message}");
513
logger.
Log
($"Cache purge: deleted {dllName}/{dirName} (last used {lastUsed:u})");
518
logger.
Log
($"Cache purge: failed to delete {dllName}/{dirName}: {ex.Message}");
529
logger.
Log
($"Cache purge: removed empty directory {dllName}");
534
logger.
Log
($"Cache purge: failed to remove empty directory {dllName}: {ex.Message}");
540
logger.
Log
($"Cache purge: error enumerating {cachePath}: {ex.Message}");
544
logger.
Log
(summary);
570
logger.
Log
($"Failed to read last-used for {entryDir}: {ex.Message}");
598
logger.
Log
($"Failed to read created time for {entryDir}: {ex.Message}");
656
logger.
Log
($"Failed to enumerate cache stats for {cachePath}: {ex.Message}");
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilationCacheUtilities.cs (2)
71
logger.
Log
($"Failed to compute deterministic key, skipping cache: {ex.Message}");
89
logger.
Log
($"Cache hit satisfied: {dllName} [{hashKey}]");
src\roslyn\src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (7)
111
Logger.
Log
($@"
122
Logger.
Log
($"Rejected: {request.RequestId}: {message}");
131
Logger.
Log
($"Rejected: {request.RequestId}: {message}");
139
Logger.
Log
($"Rejected: {request.RequestId}: {message}");
145
Logger.
Log
($"Rejected: {request.RequestId}: for analyzer load issues {string.Join(";", errorMessages)}");
149
Logger.
Log
($"Begin {request.RequestId} {request.Language} compiler run");
157
Logger.
Log
(@$"End {request.RequestId} {request.Language} compiler run
src\roslyn\src\Compilers\Server\VBCSCompiler\NamedPipeClientConnectionHost.cs (3)
184
logger.
Log
($"Constructing pipe and waiting for connections '{pipeName}'");
207
logger.
Log
("Pipe connection established.");
214
logger.
Log
($"Pipe connection cancelled");
src\roslyn\src\Compilers\Server\VBCSCompiler\ServerDispatcher.cs (6)
128
_logger.
Log
($"End ListenAndDispatchConnections");
221
_logger.
Log
($"Shutting down server: {reason}");
235
_logger.
Log
($"GC completed: before={before} bytes, after={after} bytes");
290
_logger.
Log
("Client request completed");
294
_logger.
Log
($"Client changed keep alive to {keepAlive}");
300
_logger.
Log
("Client requested shutdown");
src\roslyn\src\Compilers\Shared\BuildClient.cs (3)
159
_logger.
Log
("Server build failed, falling back to local build");
222
CompilerOptionParseUtilities.PrependFeatureFlagFromEnvironment(buildRequestArguments, Environment.GetEnvironmentVariable, _logger.
Log
);
251
_logger.
Log
($"Server compilation completed: {buildResponse.Type}");
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (6)
304
logger.
Log
($"Begin writing request for {request.RequestId}");
306
logger.
Log
($"End writing request for {request.RequestId}");
317
logger.
Log
($"Begin reading response for {request.RequestId}");
323
logger.
Log
($"End reading response for {request.RequestId}");
341
logger.
Log
($"Client disconnect for {request.RequestId}");
441
logger.
Log
("Owner of named pipe is incorrect");
src\roslyn\src\Compilers\Shared\CompilerServerLogger.cs (3)
36
logger.
Log
(string.Format(format, arguments));
44
logger.
Log
($"Error: {message}");
79
logger.
Log
(builder.ToString());
src\roslyn\src\Compilers\Shared\ExitingTraceListener.cs (1)
53
Logger.
Log
(message);