name-dyndns/log/log.go

13 lines
145 B
Go
Raw Normal View History

2015-05-04 20:03:17 -04:00
package log
import (
"io"
"log"
)
var Logger *log.Logger
func Init(writer io.Writer) {
Logger = log.New(writer, "", log.Ldate|log.Ltime)
}