Skip to content

Commit

Permalink
Removing date from log output (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
tosmun-r7 authored Nov 23, 2018
1 parent 21b93de commit d016699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func main() {
verbose = *verboseP
}
if verbose {
log.SetFlags(0)
log.SetOutput(os.Stderr)
} else {
log.SetOutput(ioutil.Discard)
Expand Down

0 comments on commit d016699

Please sign in to comment.