10 #ifndef DAQ_LOG4CPLUS_HPP
11 #define DAQ_LOG4CPLUS_HPP
15 #include <log4cplus/loglevel.h>
48 explicit Trim(std::string_view str, uint8_t spec =
Right) noexcept : m_str(str), m_spec(spec){};
57 friend std::ostream&
operator<<(std::ostream& os,
Trim const& trim);
60 std::string_view m_str;
Trim string from whitespace (' ', ' ')
Trim(std::string_view str, uint8_t spec=Right) noexcept
Construct from exception derived from std::exception.
friend std::ostream & operator<<(std::ostream &os, Trim const &trim)
Formats string by trimming as.
static constexpr std::string_view WHITESPACE
daqif::DaqStatus & operator<<(daqif::DaqStatus &status, daq::Status const &rhs)
Convert daq::Status -> daqif::DaqStatus by populating from rhs.
std::istream & operator>>(std::istream &is, LogLevel &level)
Parse log level from string.
log4cplus::LogLevel value
ly typed log4cplus::LogLevel (which is an alias to int)