Replace logging calls with new style
This commit is contained in:
1 parent
c786e7eb5a
commit
d82578d895
30 files changed
+212
-237
No files matched your search
@@ -43,7 +43,7 @@ func main() {
|
||||
}
|
||||
|
||||
if c.WithDNS && c.WithoutDNS {
|
||||
Error.Fatalf("Cannot use both '--with-dns' and '--without-dns' flags")
|
||||
Log.Fatalf("Cannot use both '--with-dns' and '--without-dns' flags")
|
||||
}
|
||||
|
||||
if debug {
|
||||
@@ -55,7 +55,7 @@ func main() {
|
||||
|
||||
p, err := proxy.NewProxy(c)
|
||||
if err != nil {
|
||||
Error.Fatalf("Could not start proxy: %s", err)
|
||||
Log.Fatalf("Could not start proxy: %s", err)
|
||||
}
|
||||
|
||||
p.ListenAndServe()
|
||||
|
||||
Reference in new issue
Block a user