Update android_sink.h

Removed redundant check
This commit is contained in:
Gabi Melman 2015-09-15 01:26:31 +03:00
parent b2e948c23f
commit ccc66db7fc

View File

@ -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(