github.com/kirillDanshin/dlog

Simple build-time controlled debug log with ability to log where the logger was called


License
Apache-2.0
Install
go get github.com/kirillDanshin/dlog

Documentation

dlog

Simple build-time controlled debug log

Release

To disable logging in release build just run

    go build

Debug

To enable logging in debug build run

    go build -tags "debug"