well-goknown/vendor/github.com/nbd-wtf/go-nostr/log.go

15 lines
303 B
Go
Raw Normal View History

package nostr
import (
"log"
"os"
)
var (
// call SetOutput on InfoLogger to enable info logging
InfoLogger = log.New(os.Stderr, "[go-nostr][info] ", log.LstdFlags)
// call SetOutput on DebugLogger to enable debug logging
DebugLogger = log.New(os.Stderr, "[go-nostr][debug] ", log.LstdFlags)
)