Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 256 Bytes
package timber
import (
"fmt"
"os"
)
// This uses the standard go logger to write the messages
type ConsoleWriter func(string)
func (c ConsoleWriter) LogWrite(msg string) {
fmt.Fprint(os.Stderr, msg)
}
func (c ConsoleWriter) Close() {
// Nothing
}
Something went wrong with that request. Please try again.