1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 12:31:58 +00:00

Nothing special: when iris.DevLogger() used then group logs based on time.

Former-commit-id: 921e2d5baabd3d299f4a719ef0a0abd924bc3bc9
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-02-28 05:37:53 +02:00
parent abf2be4296
commit b214df742b
11 changed files with 106 additions and 20 deletions

View File

@@ -56,6 +56,12 @@ func (s *server) Adapt(frame *iris.Policies) {
// serve the client side on domain:port/iris-ws.js
f.StaticContent(wsClientSidePath, "application/javascript", ClientSource).ChangeName(clientSideLookupName)
}
// If we want to show configuration fields... I'm not sure for this yet, so let it commented: f.Logf(iris.DevMode, "%#v", s.config)
},
Build: func(f *iris.Framework) {
f.Log(iris.DevMode, "Serving Websockets on "+f.Config.VHost+s.config.Endpoint)
},
}