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
- Host: GitHub
- URL: https://github.com/coveooss/multilogger
- Owner: coveooss
- License: mit
- Created: 2019-10-08T12:43:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T14:14:59.000Z (2 months ago)
- Last Synced: 2025-04-05T15:24:18.792Z (2 months ago)
- Language: Go
- Size: 120 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.