github.com/echocat/slf4g (go): The Simple Logging Facade for Go provides an easy access who everyone who wants to log something and do not want to care how it is logged and gives others the possibility to implement their own loggers in easy way.  There are 2 common ways to use this framework.  1. By getting a logger for your current package. This is the most common way and is quite clean for one package. If the package contains too many logic it might worth it to use the 2nd approach (see below).  2. By getting a logger for the object the logger is for. This is the most clean approach and will give you later the maximum flexibility and control.  3. By using the global packages methods which is quite equal to how the SDK base logger works. This is only recommend for small application and not for libraries you like to export.
Keywords: golang|logging|simple|slf4g|slf4j