Skip to content

nandak522/swappable-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Template repository (for `Go`) to show how third party components can be made pluggable.

Topics

Resources

License

Stars

Watchers

Forks

Languages