home » torr/wsserv.git
ID: 41642b7a1f8f5571cc9832caee26f5aef888a8bd
19 lines — 356B — View raw


package main

import (
	"fmt"
	"log"
	"os"
)

const (
	// sep holds white space used as log type separator.
	sep = "    "
)

var (
	// logInfo is used to log stable runtime information.
	logInfo = log.New(os.Stdout, fmt.Sprintf("%s%s", "info", sep), 0)
	// logErr is used to log errors.
	logErr = log.New(os.Stdout, fmt.Sprintf("%s%s", "error", sep), 0)
)