mirror of https://github.com/minio/minio.git
27 lines
421 B
Go
27 lines
421 B
Go
package log
|
|
|
|
import (
|
|
internalLog "log"
|
|
)
|
|
|
|
// Debug logging
|
|
func Debug(args ...interface{}) {
|
|
if verify(DebugLOG) {
|
|
internalLog.Print(args...)
|
|
}
|
|
}
|
|
|
|
// Debugf formatted debug logging
|
|
func Debugf(s string, args ...interface{}) {
|
|
if verify(DebugLOG) {
|
|
internalLog.Printf(s, args...)
|
|
}
|
|
}
|
|
|
|
// Debugln logging with newline
|
|
func Debugln(args ...interface{}) {
|
|
if verify(DebugLOG) {
|
|
internalLog.Println(args...)
|
|
}
|
|
}
|