4 ms·
Looks like the one I've written for Emvi [1]. Does yours support logging to different channels? Like os.Stdout and os.Stderr? Because I couldn't find a large po
by marvinblum 7y ago
Looks like the one I've written for Emvi [1]. Does yours support logging to different channels? Like os.Stdout and os.Stderr? Because I couldn't find a large popular one that did support this. logrus for example rejected it, which is ridiculous in my eyes as it's very common to log to these channels. If you deal with Stacktrace logging on Google Cloud for example and use logrus, everything, really everything, went into the "error" level.
[1] https://github.com/emvi/logbuch https://github.com/emvi/logbuch
- jhawkey 7y agoGreat project! Currently no. Currently the logger really only writes to files unless you activate the 'verbose' mode, in which case the output is written to both the log file and stdout. Supporting other channels should be easy to implement. Contributions are welcome of course :)