diff options
| author | Andreas Gampe <agampe@google.com> | 2016-09-22 10:15:01 -0700 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2016-09-22 12:47:40 -0700 |
| commit | ec0f4462721f6eec38347053088ede6af2defb1e (patch) | |
| tree | 111be2f16263117d62f0c54d5d510026e0b0ea37 /libutils/Unicode.cpp | |
| parent | 897fa1810e258b0d061c32ebcea10ad2d3970f14 (diff) | |
Base: Add more log macros
Add WOULD_LOG to determine whether a given severity would be logged.
Add LOG_STREAM to have direct access to a logging stream.
Add LOG_S variants that take a fully qualified severity. This allows
complex expressions as parameters, e.g., ternaries for conditional
severity levels.
Add tests.
Bug: 31338270
Test: m
Test: mmma system/core/base && $ANDROID_HOST_OUT/nativetest64/libbase_test/libbase_test64
Change-Id: I242b960594e68caff6db9cd8aaa4ce8aaf90474c
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
