Browse Source

Update log.go

pull/15/head
Jason 5 years ago
parent
commit
a986e7984f
  1. 4
      log/log.go

4
log/log.go

@ -49,6 +49,10 @@ func Fatalf(format string, v ...interface{}) {
log.Fatalf(format, v...)
}
func Access(process, outbound, network, local, target string) {
Infof("[%v] [%v] [%v] %s --> %s", outbound, network, process, local, target)
}
func SetLevel(newLevel Level) {
level = newLevel
}

Loading…
Cancel
Save