const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
void before(StandardEventType evt, const std::string &caller) override
virtual void i_after(CustomEventTypeRef evt, std::string_view caller, const StatusCode &sc)=0
catch all "after" method, implemented in the derived class
virtual const std::string & name() const =0
Retrieve the name of the instance.
This class is used for returning status codes from appropriate routines.
virtual void i_before(CustomEventTypeRef evt, std::string_view caller)=0
catch all "before" method, implemented in the derived class
IInterface compliant class extending IInterface with the name() method.
void after(StandardEventType evt, const std::string &caller, const StatusCode &sc) override
bool i_auditEventType(std::string_view evt)
Check if we are requested to audit the passed event type.