Permalink
Browse files

Fix windows build (logging).

  • Loading branch information...
1 parent a404ea2 commit ed40d824bf773c088028295fc0b883deb38426a0 @dustin dustin committed Oct 15, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 logging_windows.go
View
@@ -3,17 +3,9 @@
package main
import (
- corelog "log"
- "os"
+ "log"
)
-var log *corelog.Logger
-
-func init() {
- log = corelog.New(os.Stderr, "", 0)
- log.SetFlags(corelog.LstdFlags)
-}
-
func initLogger(slog bool) {
if slog {
log.Printf("No syslog support on Windows, using regular logging")

0 comments on commit ed40d82

Please sign in to comment.