github.com/platinasystems/nvram@v1.0.1-0.20190709235807-51a23abd5aec/debug/nodebug.go (about) 1 // Copyright © 2019 Platina Systems, Inc. All rights reserved. 2 // Use of this source code is governed by the GPL-2 license described in the 3 // LICENSE file. 4 5 // +build !debug 6 7 package debug 8 9 const ( 10 LevelNone = iota 11 LevelMSG1 = iota 12 LevelMSG2 = iota 13 LevelMSG3 = iota 14 ) 15 16 func SetDebugLevel(level int) { 17 } 18 19 func Trace(level int, s string, a ...interface{}) { 20 }