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