Paket: golang-github-gologme-log-dev (1.3.0-2~bpo11+1)
Links für golang-github-gologme-log-dev
Debian-Ressourcen:
Quellcode-Paket golang-github-gologme-log herunterladen:
- [golang-github-gologme-log_1.3.0-2~bpo11+1.dsc]
- [golang-github-gologme-log_1.3.0.orig.tar.gz]
- [golang-github-gologme-log_1.3.0-2~bpo11+1.debian.tar.xz]
Betreuer:
Externe Ressourcen:
- Homepage [github.com]
Ähnliche Pakete:
A fork of the golang built in log package to add support for levels (library)
This package is a drop in replacement for the built-in Go log package. All the functionality of the built-in package still exists and is unchanged. In addition, this package contains a series of small enhancements and additions. Namely, it adds five logging levels.
In addition to these five defined logging levels, users can also define their own arbitrary logging levels.
Unlike other loggers, these logging levels are not enabled in a chain. Meaning, once a level is enabled, say Warn, all levels above it are not also enabled. This package is implemented in such a way that users can individually turn on and turn off the various new logging levels. However, starting with v1.3.0 users can enable logging in a chain buy enabling logging levels by number (see below). If existing code uses the build-in log package, no change is needed to use this package.
Another feature that was added, based on comments seen on the various golang boards, is the ability to set the calldepth.
golang-github-gologme-log-dev herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
all | 7,6 kB | 41,0 kB | [Liste der Dateien] |