- fix indentation
This commit is contained in:
parent
17f8d322c1
commit
9cc69508ad
|
|
@ -22,23 +22,23 @@ LogLevel LogLevelHelper::parse(const std::string& t)
|
||||||
if (t == "none")
|
if (t == "none")
|
||||||
return LL_NONE;
|
return LL_NONE;
|
||||||
else
|
else
|
||||||
if (t == "debug")
|
if (t == "debug")
|
||||||
return LL_DEBUG;
|
return LL_DEBUG;
|
||||||
else
|
else
|
||||||
if (t == "critical")
|
if (t == "critical")
|
||||||
return LL_CRITICAL;
|
return LL_CRITICAL;
|
||||||
else
|
else
|
||||||
if (t == "info")
|
if (t == "info")
|
||||||
return LL_INFO;
|
return LL_INFO;
|
||||||
else
|
else
|
||||||
if (t == "media")
|
if (t == "media")
|
||||||
return LL_MEDIA;
|
return LL_MEDIA;
|
||||||
else
|
else
|
||||||
if (t == "error")
|
if (t == "error")
|
||||||
return LL_ERROR;
|
return LL_ERROR;
|
||||||
else
|
else
|
||||||
if (t == "special")
|
if (t == "special")
|
||||||
return LL_SPECIAL;
|
return LL_SPECIAL;
|
||||||
|
|
||||||
throw std::runtime_error("Bad log param string value.");
|
throw std::runtime_error("Bad log param string value.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue