serilog-sinks-periodicbatching
serilog-sinks-periodicbatching copied to clipboard
Are there any plans to support Blazor WASM projects?
In it's current state (4.1.0) there is an exception inside Dispose(bool disposing)
method:
https://github.com/serilog/serilog-sinks-periodicbatching/blob/d7b0406169671d55dc34cee97eedc72c137fcff0/src/Serilog.Sinks.PeriodicBatching/Sinks/PeriodicBatching/PeriodicBatchingSink.cs#L331-L355
This line: https://github.com/serilog/serilog-sinks-periodicbatching/blob/d7b0406169671d55dc34cee97eedc72c137fcff0/src/Serilog.Sinks.PeriodicBatching/Sinks/PeriodicBatching/PeriodicBatchingSink.cs#L339
Causes this:
PeriodicBatchingSink (Serilog.Sinks.Seq.Batched.BatchedSeqSink): caught exception during disposal
System.PlatformNotSupportedException: Cannot wait on monitors on this runtime.
This exception is output in Serilog's self log (when enabled).
In our project we wanted to use serilog-sinks-seq or serilog-sinks-http sinks to send logs to Seq
server directly from browser, but they both depend on this project and both fail on this.
Just wanted to know if there are any plans to somehow workaround WASM limitations?