Extra library of loggers for the Ergo Framework 3.0 (and above)
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.
Warning: not intended to be used for intensive logging.
Doc: https://docs.ergo.services/extra-library/loggers/colored
This logger writes log messages to the file and makes a rotation of them.
Doc: https://docs.ergo.services/extra-library/loggers/rotate
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
