glog


A re-implementation of dlog in Go.
Usage
The module's import path is new.git.deavmi.assigned.network/deavmi/glog.git and then you can make
use of all the packages within.
StdLogger
The StdLogger in std/logger is most likely what you will want to be using as it
has support for level-based filtering (via LevelFilter) and uses an Appender which
logs messages that show the log level, the message text and more.
Structured logging
For structured logging support take a look at the structured which contains the
StructuredLogger which will consume a LogRecord and then turn its key-value pairs
into JSON key-value mappings (via the StructuredAppender) and then write this out to
a specific io.Writer (or standard output by default).
Interface compatibility
The StdLogger is compatible with the FreeFaces logging API, this means
that any project which makes use of such an API for logging can have the StdLogger
instance dropped right in.
TODO
- Switch to Meson build system
- TODO - backport changes to dlog
License
Please see LICENSE.