39bool System::LogMessage(CovelliteGui::Log::Type _Type,
40 const String_t & _Message)
42 if (_Type == CovelliteGui::Log::LT_ERROR)
44 LOGGER(Error) << CovelliteGuiStringToUtf8(_Message);
46 else if (_Type == CovelliteGui::Log::LT_WARNING)
48 LOGGER(Warning) << CovelliteGuiStringToUtf8(_Message);
50 else if (_Type == CovelliteGui::Log::LT_INFO)
52 LOGGER(Info) << CovelliteGuiStringToUtf8(_Message);
54 else if (_Type == CovelliteGui::Log::LT_ASSERT ||
55 _Type == CovelliteGui::Log::LT_ALWAYS)
57 LOGGER(Trace) << CovelliteGuiStringToUtf8(_Message);
59 else if (_Type == CovelliteGui::Log::LT_DEBUG)
61 LOGGER_DEBUG(Trace) << CovelliteGuiStringToUtf8(_Message);