mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
Update android_sink.h
Removed redundant check
This commit is contained in:
parent
b2e948c23f
commit
ccc66db7fc
@ -55,10 +55,6 @@ public:
|
||||
protected:
|
||||
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 int expected_size = msg.formatted.size();
|
||||
const int size = __android_log_write(
|
||||
|
Loading…
Reference in New Issue
Block a user