From 07f42ecb36f5dbb97c19e3f36df1018f175fd410 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 27 Dec 2020 19:29:01 +0000 Subject: [PATCH] logging: Add warning log level --- include/logging.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/logging.h b/include/logging.h index 18d0642..53b30fd 100644 --- a/include/logging.h +++ b/include/logging.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Andri Yngvason + * Copyright (c) 2019 - 2020 Andri Yngvason * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -25,3 +25,4 @@ #endif #define log_error(...) fprintf(stderr, "ERROR: " __VA_ARGS__) +#define log_warning(...) fprintf(stderr, "Warning: " __VA_ARGS__)