Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix windows build (logging).

  • Loading branch information...
commit ed40d824bf773c088028295fc0b883deb38426a0 1 parent a404ea2
@dustin dustin authored
Showing with 1 addition and 9 deletions.
  1. +1 −9 logging_windows.go
View
10 logging_windows.go
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.