Helper to map string to log priority
This commit is contained in:
committed by
Automatic Release Builder
parent
a8c1bef0bf
commit
6738a3aa2b
@@ -105,6 +105,11 @@ public:
|
||||
|
||||
sgDebugPriority get_log_priority() const;
|
||||
|
||||
/**
|
||||
@brief convert a string value to a log prioirty.
|
||||
throws std::invalid_argument if the string is not valid
|
||||
*/
|
||||
static sgDebugPriority priorityFromString(const std::string& s);
|
||||
/**
|
||||
* set developer mode on/off. In developer mode, SG_DEV_WARN messags
|
||||
* are treated as warnings. In normal (non-developer) mode they are
|
||||
|
||||
Reference in New Issue
Block a user