log: comment to_level failure behaviour

This commit is contained in:
Danny Robson 2016-01-21 13:54:41 +11:00
parent aee9d8ef36
commit b107666376

View File

@ -29,6 +29,10 @@
///////////////////////////////////////////////////////////////////////////////
/// convert a string representation of a log-level into an enumeration value.
///
/// conversion is case insensitive
/// throws std::range_error if unable to convert
static util::level_t
to_level (std::string name)
{