An open API service indexing awesome lists of open source software.

https://github.com/coveooss/multilogger

logrus utility to log to file and console simultaneously
https://github.com/coveooss/multilogger

Last synced: 2 months ago
JSON representation

logrus utility to log to file and console simultaneously

Awesome Lists containing this project

README

        

# multilogger

Multilogger is a small logging wrapper based on [logrus](https://github.com/sirupsen/logrus) that writes logs simultaneously to the console,
files or any other hook. Each of those logging methods can be given a different logging level. It exposes the same API as a regular `logrus` logger.

See [multilogger godoc](https://godoc.org/github.com/coveooss/multilogger) for full documentation.

## multicolor

There is also a sub package used to handle colors and attributes. It is based on [color](https://github.com/fatih/color) which is an archived project
but still useful.

See [multicolor godoc](https://godoc.org/github.com/coveooss/multilogger/color) for full documentation.