Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Write Microsoft.Extensions.Logging to kafka.

How to use

Install the Nuget package.

Install-Package Tuhu.Extensions.Logging.Structured.Kafka

In your testing project, add the following framework

ILoggingBuilder lb = ....;
lb.AddKafka("localhost:19200", "test")
    .AddLayout("DateTime", new DateTimeOffsetLayout())
    //.AddLayout("XXX", new YYYLayout())
    .AddLayout("Exception", new ExceptionLayout());

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages