1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +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

@@ -17,7 +17,8 @@ type User struct {
func main() {
app := iris.New()
app.Logger().Level = iris.NoLog
// app.Logger().SetLevel("disable") to disable the logger
// Define templates using the std html/template engine.
// Parse and load all files inside "./views" folder with ".html" file extension.
// Reload the templates on each request (development mode).