forked from coinrust/crex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exchangelogger.go
57 lines (30 loc) · 1.02 KB
/
exchangelogger.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
package crex
// EmptyExchangeLogger 交易所撮合日志
type EmptyExchangeLogger struct {
}
func (l *EmptyExchangeLogger) Debug(args ...interface{}) {
}
func (l *EmptyExchangeLogger) Debugf(template string, args ...interface{}) {
}
func (l *EmptyExchangeLogger) Debugw(msg string, keysAndValues ...interface{}) {
}
func (l *EmptyExchangeLogger) Info(args ...interface{}) {
}
func (l *EmptyExchangeLogger) Infof(template string, args ...interface{}) {
}
func (l *EmptyExchangeLogger) Infow(msg string, keysAndValues ...interface{}) {
}
func (l *EmptyExchangeLogger) Warn(args ...interface{}) {
}
func (l *EmptyExchangeLogger) Warnf(template string, args ...interface{}) {
}
func (l *EmptyExchangeLogger) Warnw(msg string, keysAndValues ...interface{}) {
}
func (l *EmptyExchangeLogger) Error(args ...interface{}) {
}
func (l *EmptyExchangeLogger) Errorf(template string, args ...interface{}) {
}
func (l *EmptyExchangeLogger) Errorw(msg string, keysAndValues ...interface{}) {
}
func (l *EmptyExchangeLogger) Sync() {
}