07fd8253 ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package gobrake import ( "log" "os" ) var logger *log.Logger func init() { SetLogger(log.New(os.Stderr, "gobrake: ", log.LstdFlags)) } func SetLogger(l *log.Logger) { logger = l }