default.go
584 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package log
import (
"log"
)
type ConsoleLog struct {
}
func newConsoleLog()Log{
return &ConsoleLog{}
}
func(this *ConsoleLog)Debug(args ...interface{}){
//this.log.Debug(args...)
log.Println(args...)
}
func(this *ConsoleLog)Info(args ...interface{}){
log.Println(args...)
}
func(this *ConsoleLog)Warn(args ...interface{}){
log.Println(args...)
}
func(this *ConsoleLog)Error(args ...interface{}){
log.Println(args...)
}
func(this *ConsoleLog)Panic(args ...interface{}){
log.Println(args...)
}
func(this *ConsoleLog)Fatal(args ...interface{}){
log.Println(args...)
}