YTSFlix_Go/vendor/github.com/asticode/go-astilog/out.go

20 lines
320 B
Go
Raw Normal View History

2018-11-04 14:58:15 +00:00
// +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()
}