Skip to content

kritikos-io/StructuredLogging

Repository files navigation

Structured Logging

Build Status License

GitHub language count

Simple templates to enforce uniform structured logging across projects.

Use the static classes

  • GenericLogTemplates
  • AspNetCoreLogTemplates

to provide you with the message template and pass the rest of the placeholders in a Logger that supports structured logging. Extension method GetTemplateCode() can be used to get the hexadecimal number used by Seq complete with the $ prefix.