grim/devweb

remove some debugging logging
draft
2020-07-16, Gary Kramlich
127cb04c7005
Parents 85e354e5e64a
Children 5ad16c08562a
remove some debugging logging
--- a/frontend/frontend.go Thu Jul 16 05:25:31 2020 -0500
+++ b/frontend/frontend.go Thu Jul 16 05:38:28 2020 -0500
@@ -7,7 +7,6 @@
"github.com/gin-gonic/contrib/static"
"github.com/gin-gonic/gin"
- log "github.com/sirupsen/logrus"
)
type embeddedFS struct {
@@ -15,16 +14,11 @@
}
func (e *embeddedFS) Exists(prefix, path string) bool {
- log.Infof("exists: prefix=%q; path=%q;", prefix, path)
-
full := filepath.Join(prefix, path)
- log.Infof("checking if %q exists", full)
if _, found := _escData[full]; !found {
- log.Info("nope")
return false
}
- log.Info("yep")
return true
}