From 355cee5b339ff67f0efae86b527d495bcc3b1c28 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 20 Jan 2015 12:00:04 -0500 Subject: [PATCH] devicemapper: define device-mapper log levels Signed-off-by: Vincent Batts --- devicemapper/log.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devicemapper/log.go diff --git a/devicemapper/log.go b/devicemapper/log.go new file mode 100644 index 0000000..cee5e54 --- /dev/null +++ b/devicemapper/log.go @@ -0,0 +1,11 @@ +package devicemapper + +// definitions from lvm2 lib/log/log.h +const ( + LogLevelFatal = 2 + iota // _LOG_FATAL + LogLevelErr // _LOG_ERR + LogLevelWarn // _LOG_WARN + LogLevelNotice // _LOG_NOTICE + LogLevelInfo // _LOG_INFO + LogLevelDebug // _LOG_DEBUG +)