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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user