Skip to content

UNIwise/walrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Walrus logo WaLrUs...


Walrus is a watermill log adaptor for logrus.

Usage:

// With no logger 
logger := walrus.New()

// With a specific logger
logger := walrus.NewWithLogger(logrus.StandardLogger())

// With a specific log entry
logger := walrus.NewWithLogger(logrus.StandardLogger().WithField("foo", "bar")

// Example for NATS subscriber
subscriber, err := nats.NewStreamingSubscriber(nats.StreamingSubscriberConfig{}, logger)

// Example for message router
router, err := message.NewRouter(message.RouterConfig{}, logger)

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages