mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
improve route debug info, see HISTORY.md
Former-commit-id: ae245bae5fefa57c5f7663f7d1d661ec68ad366a
This commit is contained in:
@@ -31,7 +31,12 @@ func main() {
|
||||
|
||||
func newApp() *iris.Application {
|
||||
app := iris.New()
|
||||
app.Logger().SetLevel("debug")
|
||||
// app.Configure(iris.WithLowercaseRouting) // OPTIONAL.
|
||||
app.Logger().SetLevel("debug").SetTimeFormat("")
|
||||
|
||||
app.Get("/", func(ctx iris.Context) {
|
||||
ctx.HTML("<h1>Index Page</h1>")
|
||||
})
|
||||
|
||||
ctrl := &myController{}
|
||||
// Register gRPC server.
|
||||
|
||||
Reference in New Issue
Block a user