util-src/pposix.c

changeset 1565
f1eeb049a0a5
parent 1195
6b91a2b39680
child 1578
5bd8b3bdbfbc
equal deleted inserted replaced
1564:2437dcd46937 1565:f1eeb049a0a5
171 int level_constants[] = { 171 int level_constants[] = {
172 LOG_DEBUG, 172 LOG_DEBUG,
173 LOG_INFO, 173 LOG_INFO,
174 LOG_NOTICE, 174 LOG_NOTICE,
175 LOG_WARNING, 175 LOG_WARNING,
176 LOG_EMERG, 176 LOG_CRIT,
177 -1 177 -1
178 }; 178 };
179 int lc_syslog_log(lua_State* L) 179 int lc_syslog_log(lua_State* L)
180 { 180 {
181 int level = luaL_checkoption(L, 1, "notice", level_strings); 181 int level = luaL_checkoption(L, 1, "notice", level_strings);

mercurial