diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-25 12:25:55 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-25 12:25:55 -0400 |
commit | 08e005d45f475a8b45d18ca887dbf790e93bc1db (patch) | |
tree | 7455661d2aac0d54f3ceccc00e2cb080b0135911 /os.go | |
parent | 5353e9e90f3cdc090acec6b81c90e803ef22dcda (diff) |
Improve debug logging in golang
Diffstat (limited to 'os.go')
-rw-r--r-- | os.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,6 @@ package main import ( "github.com/golang/protobuf/proto" "io/ioutil" - "log" "net/url" "os" "path" @@ -37,7 +36,7 @@ func InitOS() { func ResolveModule(moduleSpecifier string, containingFile string) ( moduleName string, filename string, err error) { - log.Printf("ResolveModule %s %s", moduleSpecifier, containingFile) + logDebug("ResolveModule %s %s", moduleSpecifier, containingFile) moduleUrl, err := url.Parse(moduleSpecifier) if err != nil { |