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)
       self:write(index_en)
    end
    end
 end
 end
-
+turbo.log.categories = {
+   ["success"] = true,
+   ["notice"] = false,
+   ["warning"] = true,
+   ["error"] = true,
+   ["debug"] = false,
+   ["development"] = false
+}
 local app = turbo.web.Application:new(
 local app = turbo.web.Application:new(
    {
    {
       {"^/$", FormHandler},
       {"^/$", FormHandler},