blob: 1fe471391ef0649f16e2b8f3d3daa86495122e77 [file] [log] [blame]
Roman Stratiienkod518a052021-02-25 19:15:14 +02001#ifndef UTILS_LOG_H_
2#define UTILS_LOG_H_
3
4#ifdef ANDROID
5
6#include <log/log.h>
7
8#else
9
10// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
11#define ALOGE(args...) printf("ERR: " args)
12// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
13#define ALOGW(args...) printf("WARN: " args)
14// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
15#define ALOGI(args...) printf("INFO: " args)
16// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
17#define ALOGD(args...) printf("DBG:" args)
18// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
19#define ALOGV(args...) printf("VERBOSE: " args)
20
21#endif
22
23#endif