Skip to content

Commit

Permalink
gosimple fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
derekcollison committed Mar 31, 2016
1 parent a4c4669 commit fc3e345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ func (l *Logger) Fatalf(format string, v ...interface{}) {

// Debugf logs a debug statement
func (l *Logger) Debugf(format string, v ...interface{}) {
if l.debug == true {
if l.debug {
l.logger.Printf(l.debugLabel+format, v...)
}
}

// Tracef logs a trace statement
func (l *Logger) Tracef(format string, v ...interface{}) {
if l.trace == true {
if l.trace {
l.logger.Printf(l.traceLabel+format, v...)
}
}

0 comments on commit fc3e345

Please sign in to comment.