12#include <boost/algorithm/string.hpp>
24 : tag_(util::str::trim(tag)) {
28 }
else if (tag_.length() > 256) {
32 boost::algorithm::to_lower(tag_);
48 os << server_tag.get();
A generic exception that is thrown if a parameter given to a method is considered invalid in that con...
static std::string ALL
Server tag for all servers as text.
bool amAll() const
Checks if the server tag is set to "all servers".
ServerTag()
Default constructor.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
std::ostream & operator<<(std::ostream &out, const Element::Position &pos)
Insert Element::Position as a string into stream.
Defines the logger used by the top-level component of kea-lfc.