proxy.golang.org : github.com/lpar/log
Package log provides minimal wrappers around Go's standard logger implementation to: 1. implement log levels, 2. send errors to stderr and everything else to stdout, and 3. add file and line number info to error messages. Use log.Error, log.Info, log.Debug and log.Warn exactly as if they were log.Printf. The functions also return a formatted error value, so you can use log.Errorf as if it was fmt.Errorf and it will log the error as well as returning it.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/lpar/log
License: BSD-3-Clause
Latest release: over 7 years ago
First release: over 8 years ago
Namespace: github.com/lpar
Last synced: 1 day ago