Browse code

devicemapper: define device-mapper log levels

Signed-off-by: Vincent Batts <vbatts@redhat.com>

Vincent Batts authored on 2015/01/21 02:00:04
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
0
+package devicemapper
1
+
2
+// definitions from lvm2 lib/log/log.h
3
+const (
4
+	LogLevelFatal  = 2 + iota // _LOG_FATAL
5
+	LogLevelErr               // _LOG_ERR
6
+	LogLevelWarn              // _LOG_WARN
7
+	LogLevelNotice            // _LOG_NOTICE
8
+	LogLevelInfo              // _LOG_INFO
9
+	LogLevelDebug             // _LOG_DEBUG
10
+)