mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: aidl-support: Disable verbose logs by def
This commit is contained in:
parent
f31d63aeb9
commit
12490a5eaf
1 changed files with 12 additions and 0 deletions
|
|
@ -27,6 +27,18 @@ std::string _make_str(const std::string& filename, int line, const std::string&
|
|||
return ss.str();
|
||||
}
|
||||
|
||||
#ifndef __NEED_VERBOSE_LOG__
|
||||
|
||||
#undef LOG_I
|
||||
#undef LOG_D
|
||||
#undef LOG_V
|
||||
|
||||
#define LOG_I(...) do {} while(0)
|
||||
#define LOG_D(...) do {} while(0)
|
||||
#define LOG_V(...) do {} while(0)
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#warning LOG_TAG is not defined, disabling logging.
|
||||
|
|
|
|||
Loading…
Reference in a new issue