build/loglevel: add build flag hooks for log levels
This commit is contained in:
8 files changed
+48
No files matched your search
@@ -0,0 +1,6 @@
|
||||
// +build !info,!debug,!trace,!warn,!error,!critical,!off
|
||||
|
||||
package build
|
||||
|
||||
// LogLevel specifies a default log level of info.
|
||||
var LogLevel = "info"
|
||||
Reference in new issue
Block a user