mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
Better documentation for the Application#Logger()
Former-commit-id: 7d70c7ffba9ae6a94b600b85b078714dd943a7da
This commit is contained in:
@@ -38,6 +38,8 @@ func (ctx *MyContext) HTML(htmlContents string) (int, error) {
|
||||
|
||||
func main() {
|
||||
app := iris.New()
|
||||
// app.Logger().SetLevel("debug")
|
||||
|
||||
// Register a view engine on .html files inside the ./view/** directory.
|
||||
app.RegisterView(iris.HTML("./view", ".html"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user