Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.271 kB
// +build !windows
package main
import (
"log"
"log/syslog"
)
func initLogger(slog bool) {
if slog {
lw, err := syslog.New(syslog.LOG_INFO, "cbfs")
if err != nil {
log.Fatalf("Can't initialize syslog: %v", err)
}
log.SetOutput(lw)
log.SetFlags(0)
}
}
Jump to Line
Something went wrong with that request. Please try again.