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());
}
})); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can output to NLog and Log4Net... why not Serilog or Seq directly?
Beta Was this translation helpful? Give feedback.
All reactions