Add `std::string message_` as a member, to be initialized empty. In the `operator()` function, add some `if` statements such that `message_ += "SOMETHING"` in case the corresponding flags are set.