telebit/rvpn/api/setup.go

18 lines
277 B
Go
Raw Normal View History

2017-03-13 16:43:28 +00:00
package api
import (
"log"
"os"
)
var (
loginfo *log.Logger
logdebug *log.Logger
logFlags = log.Ldate | log.Lmicroseconds | log.Lshortfile
)
func init() {
loginfo = log.New(os.Stdout, "INFO: api: ", logFlags)
logdebug = log.New(os.Stdout, "DEBUG: api:", logFlags)
}