scrcpy/app/src/util
Romain Vimont 6df2205cf3 Add generic LOG() macro with level parameter
One log macro was provided for each log level (LOGV(), LOGD(), LOGI(),
LOGW(), LOGE()).

Add a generic macro LOG(LEVEL, ...) accepting a log level as parameter,
so that it is possible to write logging wrappers.

PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>
2022-02-09 09:53:11 +01:00
..
acksync.c Add acksync helper to wait for acks 2021-11-23 21:15:05 +01:00
acksync.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
buffer_util.h Fix undefined left shift 2021-01-24 15:31:21 +01:00
cbuf.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
file.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
file.h Improve file API 2021-11-12 22:44:37 +01:00
intmap.c Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intmap.h Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intr.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
intr.h Rename SC_INVALID_SOCKET to SC_SOCKET_NONE 2021-11-14 01:22:22 +01:00
log.c Add generic LOG() macro with level parameter 2022-02-09 09:53:11 +01:00
log.h Add generic LOG() macro with level parameter 2022-02-09 09:53:11 +01:00
net.c Remove LOGC() 2022-02-09 09:52:15 +01:00
net.h Add function to parse IPv4 addresses 2021-11-21 22:37:37 +01:00
net_intr.c Rename SC_INVALID_SOCKET to SC_SOCKET_NONE 2021-11-14 01:22:22 +01:00
net_intr.h Add interruptor utilities 2021-11-13 22:54:18 +01:00
process.c Rename scrcpy threads 2021-12-09 21:32:11 +01:00
process.h Fix SC_EXIT_CODE_NONE value 2022-01-29 08:05:59 +01:00
process_intr.c Check process success locally for adb commands 2021-11-25 22:22:34 +01:00
process_intr.h Check process success locally for adb commands 2021-11-25 22:22:34 +01:00
queue.h Rename queue to sc_queue 2021-07-14 00:35:10 +02:00
str.c Remove confusing sc_str_truncate() 2022-02-06 14:39:51 +01:00
str.h Remove confusing sc_str_truncate() 2022-02-06 14:39:51 +01:00
strbuf.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
strbuf.h Add string buffer util 2021-11-11 14:55:52 +01:00
term.c Add util function to get terminal size 2021-11-11 15:22:39 +01:00
term.h Add util function to get terminal size 2021-11-11 15:22:39 +01:00
thread.c Remove LOGC() 2022-02-09 09:52:15 +01:00
thread.h Replace delay by deadline in timedwait() 2021-07-14 14:22:32 +02:00
tick.c Use timers with microsecond precision 2021-12-08 23:45:45 +01:00
tick.h Use timers with microsecond precision 2021-12-08 23:45:45 +01:00