Skip to content

alexdrl/zerowater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zerowater

I was having fun playing with Go, the Zerolog library and Watermill... did not find a good adapter for the last one, so why not building a new one as a way of playing more with Go?

This is a pet project as a .NET developer so feel free to criticize 😉

Example Usage:

logger := zerowater.NewZerologLoggerAdapter(log.Logger.With().Str("component", "windmill").Logger())

pubSub := gochannel.NewGoChannel(gochannel.Config{}, logger)

Ideas:

  • Implement tests with mocks and not using the actual log.
  • Check why the stringer test on the original adapter for the log package on watermill does not work on zerolog.

About

Watermill's log Zerolog adapter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages