Commit ccc66db7 authored by Gabi Melman's avatar Gabi Melman

Update android_sink.h

Removed redundant check
parent b2e948c2
...@@ -55,10 +55,6 @@ public: ...@@ -55,10 +55,6 @@ public:
protected: protected:
void _sink_it(const details::log_msg& msg) override void _sink_it(const details::log_msg& msg) override
{ {
if (msg.level == spdlog::level::off)
{
return;
}
const android_LogPriority priority = convert_to_android(msg.level); const android_LogPriority priority = convert_to_android(msg.level);
const int expected_size = msg.formatted.size(); const int expected_size = msg.formatted.size();
const int size = __android_log_write( const int size = __android_log_write(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment