Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitbook Documentation MIT license Telegram Community Reddit

Extra library of loggers for the Ergo Framework 3.0 (and above)

colored

Enables colorized output of log messages. Highlights log levels, values of gen.Atom, gen.PID, gen.ProcessID, gen.Alias, gen.Ref, and gen.Event. Don't forget to disable the default logger gen.NodeOptions.Log.DefaultLogger.Disable in order to get rid of duplicate log messages on stdout.

image

Warning: not intended to be used for intensive logging.

Doc: https://docs.ergo.services/extra-library/loggers/colored

rotate

This logger writes log messages to the file and makes a rotation of them.

Doc: https://docs.ergo.services/extra-library/loggers/rotate

sentry

Forwards Ergo panics and errors to a Sentry project with full panic-origin stack traces. Captures every LogLevelPanic from any source (node, network, application, meta, process) and LogLevelError from node, network and application by default. Error events from meta processes and processes are opt-in.

Stack traces are captured synchronously inside the framework's recover defer, so the frames point at the line that actually panicked rather than at the recovery wrapper. Events are queued through lib.QueueMPSC with a hard cap and shipped by a single consumer goroutine; sentry-go's own transport handles batching to Sentry.

Doc: https://docs.ergo.services/extra-library/loggers/sentry

About

Extra library of loggers for the Ergo Framework 3.0 (and above)

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages