proxy.golang.org : github.com/bnclabs/golog
Package golog provides a simple alternative to standard log that defines a Logger interface allowing custom logger to be used across the application and its libraries. To begin with, import the golog package and start using its exported functions like: Default logger will be used in the above case. To configure default logger: Default logger will be configured to "info" level. Refer Defaultsettings() for description on each settings parameter. To configure a custom logger: Note that `customlogger` should implement the Logger interface.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/bnclabs/golog
Keywords:
golang
, logger
, logging
License: MIT
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/bnclabs
Stars: 1 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago