17 lines
285 B
Go
17 lines
285 B
Go
|
package client
|
||
|
|
||
|
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: client: ", logFlags)
|
||
|
logdebug = log.New(os.Stdout, "DEBUG: client:", logFlags)
|
||
|
}
|