module
Version:
v0.0.0-...-e0b67ce
Opens a new window with list of versions in this module.
Published: Mar 28, 2022
License: GPL-3.0
Opens a new window with license information.
README
¶
swappable-logging
Swapping the logging library for golang
Build
go mod tidy
go build -o service $PWD/cmd/service
Usage
./service -h
Usage of ./service:
-h, --help Prints this help content.
-l, --logger string Required logger. logrus/zap. (default "logrus")
./service -l logrus
#./service -l zap
#./service -l random
Click to show internal directories.
Click to hide internal directories.