log: comment to_level failure behaviour
This commit is contained in:
parent
aee9d8ef36
commit
b107666376
4
log.cpp
4
log.cpp
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user