10#ifndef DAQ_LOG4CPLUS_HPP
11#define DAQ_LOG4CPLUS_HPP
16#include <log4cplus/loglevel.h>
49 explicit Trim(std::string_view str, std::uint8_t spec =
Right) noexcept
51 : m_str(str), m_spec(spec){};
60 friend std::ostream&
operator<<(std::ostream& os,
Trim const& trim);
63 std::string_view m_str;
Trim string from whitespace (' ', ' ')
friend std::ostream & operator<<(std::ostream &os, Trim const &trim)
Formats string by trimming as.
static constexpr std::string_view WHITESPACE
Trim(std::string_view str, std::uint8_t spec=Right) noexcept
Construct from exception derived from std::exception.
std::istream & operator>>(std::istream &is, LogLevel &level)
Parse log level from string.
std::ostream & operator<<(std::ostream &os, AsyncProcessIf const &proc)
Formats proc representation in the form [<pid>] <args>
log4cplus::LogLevel value
ly typed log4cplus::LogLevel (which is an alias to int)