Feature: add custom DNS support (#56)
This commit is contained in:
@ -14,6 +14,10 @@ var (
|
||||
level = INFO
|
||||
)
|
||||
|
||||
func init() {
|
||||
log.SetLevel(log.DebugLevel)
|
||||
}
|
||||
|
||||
type Event struct {
|
||||
LogLevel LogLevel
|
||||
Payload string
|
||||
@ -47,6 +51,10 @@ func Debugln(format string, v ...interface{}) {
|
||||
print(event)
|
||||
}
|
||||
|
||||
func Fatalln(format string, v ...interface{}) {
|
||||
log.Fatalf(format, v...)
|
||||
}
|
||||
|
||||
func Subscribe() observable.Subscription {
|
||||
sub, _ := source.Subscribe()
|
||||
return sub
|
||||
|
Reference in New Issue
Block a user