build/loglevel: add build flag hooks for log levels

This commit is contained in:
Conner Fromknecht
2018-09-20 03:17:45 -07:00
parent 738ba45bcf
commit 4ea1a40a88
8 changed files with 48 additions and 0 deletions

6
build/loglevel_warn.go Normal file
View File

@@ -0,0 +1,6 @@
// +build dev,warn
package build
// LogLevel specifies a warning log level.
var LogLevel = "warn"