ctl-client: Align log messages with other log messages

srht-ci
Andri Yngvason 2023-01-15 16:40:34 +00:00
parent cec46490a9
commit 98db05434a
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
#include "table-printer.h" #include "table-printer.h"
#define LOG(level, fmt, ...) \ #define LOG(level, fmt, ...) \
fprintf(stderr, "[%s:%d] <" level "> " fmt "\n", __FILE__, __LINE__, \ fprintf(stderr, level ": %s: %d: " fmt "\n", __FILE__, __LINE__, \
##__VA_ARGS__) ##__VA_ARGS__)
#define WARN(fmt, ...) \ #define WARN(fmt, ...) \
@ -47,7 +47,7 @@ static bool do_debug = false;
#define DEBUG(fmt, ...) \ #define DEBUG(fmt, ...) \
if (do_debug) \ if (do_debug) \
LOG("DEBUG", fmt, ##__VA_ARGS__) LOG("DEBUG", fmt, ##__VA_ARGS__)
static struct cmd_info internal_events[] = { static struct cmd_info internal_events[] = {
{ .name = "wayvnc-startup", { .name = "wayvnc-startup",