ssh-chat/logger.go

17 lines
227 B
Go
Raw Normal View History

2014-12-07 08:31:23 +01:00
package main
import (
"bytes"
"github.com/alexcesaro/log"
2014-12-07 08:31:23 +01:00
"github.com/alexcesaro/log/golog"
)
var logger *golog.Logger
func init() {
// Set a default null logger
var b bytes.Buffer
logger = golog.New(&b, log.Debug)
}