1
0
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:
kataras
2017-08-02 04:22:15 +03:00
parent 516dc14b1a
commit d664f3f0d6
4 changed files with 57 additions and 21 deletions

View File

@@ -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"))