telebit/rvpn/instrumentation/setup.go

17 lines
312 B
Go
Executable File

package instrumentation
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: instrumentation: ", logFlags)
logdebug = log.New(os.Stdout, "DEBUG: instrumentation:", logFlags)
}