diff --git a/src/lib/test/event-log.hpp b/src/lib/test/event-log.hpp index 2e2f05116..f51a2b040 100644 --- a/src/lib/test/event-log.hpp +++ b/src/lib/test/event-log.hpp @@ -437,10 +437,15 @@ namespace test{ return *this; } + /** log some event, with additional ID or classifier + * @param classifier info to be saved into the `ID` attribute + * @param text actual payload info, to be logged as argument + */ EventLog& event (string classifier, string text) { - UNIMPLEMENTED ("Log event with additional classifier"); + log({"type=event", "ID="+classifier, text}); + return *this; } /** Log occurrence of a function call with no arguments.