Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.3% on proxy.golang.org
Top 1.6% dependent packages on proxy.golang.org
Top 1.9% dependent repos on proxy.golang.org

proxy.golang.org : github.com/echocat/slf4g

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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/echocat/slf4g
Keywords: golang, logging, simple, slf4g, slf4j
License: MIT
Latest release: 7 months ago
First release: over 3 years ago
Namespace: github.com/echocat
Dependent packages: 12
Dependent repositories: 7
Stars: 5 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago

    Loading...
    Readme
    Loading...