Class ClientTraceLoggerProvider
Forwards the outer host's ILogger records — the language server's bring-up and workspace narration — to the connected LSP client via SendClientTrace(LogLevel, string, string). The component's own file-sink copy is unaffected. This runs on the outer host; the OmniSharp-internal container's records are forwarded by ScrubbingLanguageServerLoggerProvider.
public sealed class ClientTraceLoggerProvider : ILoggerProvider, IDisposable
- Inheritance
-
ClientTraceLoggerProvider
- Implements
- Inherited Members
Constructors
ClientTraceLoggerProvider(Func<RDCoreServerApp>)
Forwards the outer host's ILogger records — the language server's bring-up and workspace narration — to the connected LSP client via SendClientTrace(LogLevel, string, string). The component's own file-sink copy is unaffected. This runs on the outer host; the OmniSharp-internal container's records are forwarded by ScrubbingLanguageServerLoggerProvider.
public ClientTraceLoggerProvider(Func<RDCoreServerApp> app)
Parameters
appFunc<RDCoreServerApp>Resolves the running server app. A factory rather than the instance, because the app singleton may not be constructed yet when the logger factory first materialises this provider.
Methods
CreateLogger(string)
Creates a new ILogger instance.
public ILogger CreateLogger(string categoryName)
Parameters
categoryNamestringThe category name for messages produced by the logger.
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()