Make log output cooler.

This commit is contained in:
Aaron
2015-02-25 23:11:58 -08:00
parent bf0a8b098c
commit 889dcaa974
+1 -1
View File
@@ -19,7 +19,7 @@ func NewRouter() http.Handler {
for name, mod := range modules {
for route, handler := range mod.Routes() {
fmt.Fprintf(Cfg.LogWriter, "%-10s Register Route: %s\n", "["+name+"]", route)
fmt.Fprintf(Cfg.LogWriter, "%-10s Register Route: %s\n", "["+name+"]", path.Join(Cfg.MountPath, route))
mux.Handle(path.Join(Cfg.MountPath, route), contextRoute{handler})
}
}