mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
15 lines
284 B
Go
15 lines
284 B
Go
|
// +build godirwalk_debug
|
||
|
|
||
|
package godirwalk
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
// debug formats and prints arguments to stderr for development builds
|
||
|
func debug(f string, a ...interface{}) {
|
||
|
// fmt.Fprintf(os.Stderr, f, a...)
|
||
|
os.Stderr.Write([]byte("godirwalk: " + fmt.Sprintf(f, a...)))
|
||
|
}
|