You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C#] Add optional diagnostics logging (Microsoft.Extensions.Logging), off by default #109
mem-rs logs mapping, remapping, truncation and sparse decisions through the log facade, so field problems (for example "why did my file grow?") can be traced. C# has no diagnostics.
Proposed solution
Accept an optional ILogger (Microsoft.Extensions.Logging.Abstractions; NullLogger by default, so there is no runtime cost).
Use [LoggerMessage] source-generated log methods for map, unmap, resize, truncate, flush and sparse.
Alternatively, or in addition, an EventSource for dotnet-trace.
Activity