diff options
author | Jakob Unterwurzacher | 2015-11-09 22:33:42 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-09 22:33:42 +0100 |
commit | 99dfc84992df104ad23c8729f3be8a1f716937c8 (patch) | |
tree | eb650c128090338f91cda886317238f7c318bbce /cryptfs | |
parent | 79b36dd8eb3eff78bba07f636c5bfeb7c04243ba (diff) |
Add "-q" (quiet) flag
Diffstat (limited to 'cryptfs')
-rw-r--r-- | cryptfs/log.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cryptfs/log.go b/cryptfs/log.go index 2183679..6173e63 100644 --- a/cryptfs/log.go +++ b/cryptfs/log.go @@ -43,6 +43,11 @@ func (l *logChannel) Md5sum(buf []byte) string { return md5sum(buf) } +// As defined by http://elinux.org/Debugging_by_printing#Log_Levels + +// Debug messages var Debug = logChannel{false} -var Notice = logChannel{true} +// Informational message e.g. startup information +var Info = logChannel{true} +// A warning, meaning nothing serious by itself but might indicate problems var Warn = logChannel{true} |