Log to Seq
#445
Replies: 1 comment 1 reply
|
I don't know, maybe because it should be very easy to setup a custom data provider or a dynamic data provider that uses serilog. For example: Audit.Core.Configuration.Setup()
.UseDynamicProvider(_ => _.OnInsert(auditEvent =>
{
if (auditEvent.Environment.Exception != null)
{
Log.Error(auditEvent.ToJson());
}
else
{
Log.Information(auditEvent.ToJson());
}
})); |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
We can output to NLog and Log4Net... why not Serilog or Seq directly?
All reactions