/
print.go
59 lines (44 loc) · 1 KB
/
print.go
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package log
import "fmt"
func Trace(args ...interface{}) {
std.Trace(args...)
}
func Log(level Level, args ...interface{}) {
std.Log(level, args...)
}
func Info(args ...interface{}) {
std.Info(args...)
}
func Warn(args ...interface{}) {
std.Warn(args...)
}
func Error(args ...interface{}) {
std.Error(args...)
}
func Panic(args ...interface{}) {
std.Panic(args...)
}
func Fatal(args ...interface{}) {
std.Fatal(args...)
}
func Logf(level Level, format string, args ...interface{}) {
std.Logf(level, format, args...)
}
func Infof(format string, args ...interface{}) {
std.Info(fmt.Sprintf(format, args...))
}
func Warnf(format string, args ...interface{}) {
std.Warn(fmt.Sprintf(format, args...))
}
func Errorf(format string, args ...interface{}) {
std.Error(fmt.Sprintf(format, args...))
}
func Panicf(format string, args ...interface{}) {
std.Panic(fmt.Sprintf(format, args...))
}
func Fatalf(format string, args ...interface{}) {
std.Fatalf(format, args...)
}
func StartMsg() {
std.StartMsg()
}