1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

route logging improvement: group by methods

Former-commit-id: ad884991433a244dc76bdad7314d98a5c204dac6
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-04-26 17:51:27 +03:00
parent 66e641513c
commit 346ca2a219
5 changed files with 34 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ func main() {
func newApp() *iris.Application {
app := iris.New()
// app.Configure(iris.WithLowercaseRouting) // OPTIONAL.
app.Logger().SetLevel("debug").SetTimeFormat("")
app.Logger().SetLevel("debug")
app.Get("/", func(ctx iris.Context) {
ctx.HTML("<h1>Index Page</h1>")