nagadomi пре 10 година
родитељ
комит
a7a5f5b1b2
1 измењених фајлова са 8 додато и 1 уклоњено
  1. 8 1
      web.lua

+ 8 - 1
web.lua

@@ -195,7 +195,14 @@ function FormHandler:get()
       self:write(index_en)
    end
 end
-
+turbo.log.categories = {
+   ["success"] = true,
+   ["notice"] = false,
+   ["warning"] = true,
+   ["error"] = true,
+   ["debug"] = false,
+   ["development"] = false
+}
 local app = turbo.web.Application:new(
    {
       {"^/$", FormHandler},