ctl-client: Align log messages with other log messages
parent
749b64666a
commit
8538aa81f8
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue