You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
445 B
26 lines
445 B
package log
|
|
|
|
import (
|
|
internalLog "log"
|
|
)
|
|
|
|
// Print - Normal logging
|
|
func Print(args ...interface{}) {
|
|
if verify(NormalLOG) {
|
|
internalLog.Print(args...)
|
|
}
|
|
}
|
|
|
|
// Printf - Normal formatted logging
|
|
func Printf(s string, args ...interface{}) {
|
|
if verify(NormalLOG) {
|
|
internalLog.Printf(s, args...)
|
|
}
|
|
}
|
|
|
|
// Println - Normal logging with newline
|
|
func Println(args ...interface{}) {
|
|
if verify(NormalLOG) {
|
|
internalLog.Println(args...)
|
|
}
|
|
}
|
|
|