Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions glog.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (v Verbose) Info(args ...interface{}) {

// Infoln is a shim
func (v Verbose) Infoln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Debug(s, "\n")
}

Expand All @@ -71,7 +71,7 @@ func InfoDepth(depth int, args ...interface{}) {

// Infoln is a shim
func Infoln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Info(s, "\n")
}

Expand All @@ -92,7 +92,7 @@ func WarningDepth(depth int, args ...interface{}) {

// Warningln is a shim
func Warningln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Warn(s, "\n")
}

Expand All @@ -113,7 +113,7 @@ func ErrorDepth(depth int, args ...interface{}) {

// Errorln is a shim
func Errorln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Error(s, "\n")
}

Expand All @@ -136,7 +136,7 @@ func FatalDepth(depth int, args ...interface{}) {

// Fatalln is a shim
func Fatalln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Error(s, "\n")
os.Exit(255)
}
Expand All @@ -161,7 +161,7 @@ func ExitDepth(depth int, args ...interface{}) {

// Exitln is a shim
func Exitln(args ...interface{}) {
s := fmt.Sprint(args)
s := fmt.Sprint(args...)
zap.S().Error(s, "\n")
os.Exit(1)
}
Expand Down