forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignerLogger.go
38 lines (29 loc) · 814 Bytes
/
SignerLogger.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
package adscert
import (
"fmt"
"github.com/golang/glog"
)
type SignerLogger struct {
}
func (sl *SignerLogger) Debugf(format string, args ...interface{}) {
//there is no Debug level in glog
glog.Infof(format, args...)
}
func (sl *SignerLogger) Infof(format string, args ...interface{}) {
glog.Infof(format, args...)
}
func (sl *SignerLogger) Info(format string) {
glog.Info(format)
}
func (sl *SignerLogger) Warningf(format string, args ...interface{}) {
glog.Warningf(format, args...)
}
func (sl *SignerLogger) Errorf(format string, args ...interface{}) {
glog.Errorf(format, args...)
}
func (sl *SignerLogger) Fatalf(format string, args ...interface{}) {
glog.Fatalf(format, args...)
}
func (sl *SignerLogger) Panicf(format string, args ...interface{}) {
panic(fmt.Sprintf(format, args...))
}