From 08e005d45f475a8b45d18ca887dbf790e93bc1db Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 25 May 2018 12:25:55 -0400 Subject: Improve debug logging in golang --- os.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'os.go') diff --git a/os.go b/os.go index 484d07731..98997cedc 100644 --- a/os.go +++ b/os.go @@ -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 { -- cgit v1.2.3