[ios] Removed redundant mutex on logging.

This commit is contained in:
Ilya Grechuhin 2016-04-06 17:58:52 +03:00 committed by Alex Zolotarev
parent f8cbf10eea
commit ed5c004f94

View file

@ -2,19 +2,10 @@
#include "fabric_logging.hpp"
#include "std/mutex.hpp"
namespace
{
mutex g_logMutex;
} // namespace
namespace platform
{
void LogMessageFabric(my::LogLevel level, my::SrcPoint const & srcPoint, string const & msg)
{
lock_guard<mutex> lock(g_logMutex);
string recordType;
switch (level)
{