Answer the question
In order to leave comments, you need to log in
How to log in go?
How to log in go?
In theory, I found it - https://github.com/op/go-logging ... But it seems to me not very convenient, given that in each file you need to get a logger, set the level.
What I need?
Several levels of logging, some of which can be turned off when building a release.
Simple configuration in one place.
Dynamic "direction" of the log. So that during debugging it would be printed in std.Out, and in production, so that it would be rotating logs with compression.
Well, in general, who logs how?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question