mirror of
https://github.com/rancher/os.git
synced 2025-09-06 17:22:34 +00:00
add --debug logging option to installer, and a dummy set-disk-partitions
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -46,6 +46,13 @@ func SetLevel(level Level) {
|
||||
}
|
||||
}
|
||||
|
||||
func GetLevel() Level {
|
||||
if userHook != nil {
|
||||
return Level(userHook.Level)
|
||||
}
|
||||
return Level(appLog.Level)
|
||||
}
|
||||
|
||||
func Debugf(format string, args ...interface{}) {
|
||||
appLog.Debugf(format, args...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user