Merge pull request #10193 from vbatts/vbatts-dm_logging

devmapper: initialize log levels
This commit is contained in:
Vincent Batts 2015-01-20 14:06:01 -05:00
commit bfb4954a1f

11
devicemapper/log.go Normal file
View file

@ -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
)