9#include <framework/database/PayloadFile.h>
10#include <framework/logging/Logger.h>
20 if (!file.is_open()) {
21 B2ERROR(
"Opening of payload file " <<
m_fileName <<
" failed.");
25 buffer << file.rdbuf();
std::string getContent() const
Read the content of the payload (text) file.
std::string m_fileName
Name of the payload file.
Abstract base class for different kinds of events.