Fixed bugs in stdout_sinks and in msvc

This commit is contained in:
gabime
2018-07-07 14:04:31 +03:00
parent bde4c7149f
commit 9dc44c39e7
14 changed files with 59 additions and 76 deletions

View File

@@ -38,7 +38,7 @@ public:
void log(const details::log_msg &msg) override
{
const android_LogPriority priority = convert_to_android(msg.level);
const android_LogPriority priority = convert_to_android_(msg.level);
fmt::memory_buffer formatted;
if (use_raw_msg_)
{
@@ -70,7 +70,7 @@ public:
void flush() override {}
private:
static android_LogPriority convert_to_android(spdlog::level::level_enum level)
static android_LogPriority convert_to_android_(spdlog::level::level_enum level)
{
switch (level)
{