File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 235235
236236 Methods:
237237
238- * `print(...)`: print parameters via lua `tostring` method as ERROR in Virtual Request context
238+ * `error(...)` and ` print(...)`: print parameters via lua `tostring` method as ERROR in Virtual Request context
239239 * `warning(...)`: print parameters via lua `tostring` method as WARNING in Virtual Request context
240240 * `info(...)`: print parameters via lua `tostring` method as INFO in Virtual Request context
241241 * `debug(...)`: print parameters via lua `tostring` method as DEBUG in Virtual Request context
Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ static const luaL_Reg vrequest_mt[] = {
319319 { "__newindex" , lua_vrequest_newindex },
320320
321321 { "print" , lua_vrequest_error },
322+ { "error" , lua_vrequest_error },
322323 { "warning" , lua_vrequest_warning },
323324 { "info" , lua_vrequest_info },
324325 { "debug" , lua_vrequest_debug },
You can’t perform that action at this time.
0 commit comments