diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-10-18 20:22:47 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-10-25 11:55:44 +0300 |
commit | 33aea95f02b025ecaf5917b10975119c07c353b3 (patch) | |
tree | 7dcb9d569c5fcfc58680dc8944065f564364aac9 /clients/log.h | |
parent | 0eedfd70b4682a51c81b4b8738ab42f665dc8798 (diff) |
Add more grpc - Asyncstuffsandbox/mvlad/switch-to-grpc
Switch to a more better structure
protocol: Add support for sending out app_state events over gRPC
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I2765d53a2123be0d52225d92c964d39c63ec4902
Diffstat (limited to 'clients/log.h')
-rw-r--r-- | clients/log.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clients/log.h b/clients/log.h new file mode 100644 index 0000000..127d8e0 --- /dev/null +++ b/clients/log.h @@ -0,0 +1,7 @@ +#pragma once + +#include <cstdio> + +#ifndef LOG +#define LOG(fmt, ...) do { fprintf(stderr, "%s() " fmt, __func__, ##__VA_ARGS__); } while (0) +#endif |