This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package EAIT::Log; | |
| use strict; | |
| use warnings; | |
| use mod_perl; | |
| use Apache::Constants; | |
| use Sys::Hostname; | |
| use POSIX qw(strftime); | |
| use Fcntl qw(:flock); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local logfile = require("logfile") | |
| local P = require("posix") | |
| local cjson = require("cjson") | |
| local cookies = require("http_cookies") | |
| local _M = { | |
| fatal = 60, | |
| error = 50, | |
| warn = 40, |