Adds missing `nog_log' action

This commit is contained in:
Felipe Zimmerle
2016-09-12 10:34:45 -03:00
parent c3378ec528
commit 241269eede
4 changed files with 86 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
#include "actions/capture.h"
#include "actions/pass.h"
#include "actions/log.h"
#include "actions/no_log.h"
@@ -93,6 +94,9 @@ Action *Action::instantiate(const std::string& name) {
if (name == "log") {
return new Log(name);
}
if (name == "nolog") {
return new NoLog(name);
}
return new Action(name);
}