YTSFlix_Go/vendor/github.com/asticode/go-astilog/out.go
2018-11-04 15:58:15 +01:00

20 lines
320 B
Go

// +build windows
package astilog
import (
"io"
"log"
colorable "github.com/mattn/go-colorable"
)
func stdOut() io.Writer {
return colorable.NewColorableStdout()
}
func syslogOut(c Configuration) io.Writer {
log.Println("astilog: syslog is not implemented on this os, using stdout instead")
return stdOut()
}