DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Issues.hpp
Go to the documentation of this file.
1
8#ifndef RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
9#define RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
10
11
12#include "ers/Issue.hpp"
13#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
14#include <string>
15
16namespace dunedaq {
17
22 ERS_DECLARE_ISSUE(restcmd, EnvVarNotFound,
23 "The environment variable wasn't set " << env_var,
24 ((std::string)env_var))
25
26}
27
28#endif // RESTCMD_INCLUDE_RESTCMD_ISSUES_HPP_
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Including Qt Headers.