mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update android_sink.h
Removed redundant check
This commit is contained in:
parent
b2e948c23f
commit
ccc66db7fc
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user