Setting http response code on the auditlog

This commit is contained in:
Felipe Zimmerle
2017-10-19 23:26:08 -03:00
parent 274f9e5aa1
commit 34e8b140e5
3 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ class RuleMessage {
std::string log(int props) {
return RuleMessage::log(this, props);
}
std::string log(int props, int responseCode) {
return RuleMessage::log(this, props, responseCode);
}
std::string errorLog() {
return RuleMessage::log(this, ClientLogMessageInfo | ErrorLogTailLogMessageInfo);
}