diff options
Diffstat (limited to 'internal/tlog')
-rw-r--r-- | internal/tlog/log.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/tlog/log.go b/internal/tlog/log.go index 8db3de2..4ab5d79 100644 --- a/internal/tlog/log.go +++ b/internal/tlog/log.go @@ -74,15 +74,16 @@ func (l *toggledLogger) Println(v ...interface{}) { } } -// Debug messages +// Debug logs debug messages // Can be enabled by passing "-d" var Debug *toggledLogger -// Informational message +// Info logs informational message // Can be disabled by passing "-q" var Info *toggledLogger -// A warning, meaning nothing serious by itself but might indicate problems. +// Warn logs warnings, +// meaning nothing serious by itself but might indicate problems. // Passing "-wpanic" will make this function panic after printing the message. var Warn *toggledLogger |