swappable-logging

module
v0.0.0-...-e0b67ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: GPL-3.0

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

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL