mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Finished conversion to new logging API
* removed logger streams * (float3|int3)::operator() -> (float3|int3)::toString(), it was too ugly and confusing.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
#include "StdInc.h"
|
||||
#include "CBasicLogConfigurator.h"
|
||||
#include "CLogger.h"
|
||||
|
||||
#include "../CConfigHandler.h"
|
||||
|
||||
@@ -111,7 +112,7 @@ ELogLevel::ELogLevel CBasicLogConfigurator::getLogLevel(const std::string & leve
|
||||
{"warn", ELogLevel::WARN},
|
||||
{"error", ELogLevel::ERROR},
|
||||
};
|
||||
|
||||
|
||||
const auto & levelPair = levelMap.find(level);
|
||||
if(levelPair != levelMap.end())
|
||||
return levelPair->second;
|
||||
|
||||
Reference in New Issue
Block a user