logging: Add warning log level

pull/95/head
Andri Yngvason 2020-12-27 19:29:01 +00:00
parent 0178c13627
commit 07f42ecb36
1 changed files with 2 additions and 1 deletions

View File

@ -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 * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@ -25,3 +25,4 @@
#endif #endif
#define log_error(...) fprintf(stderr, "ERROR: " __VA_ARGS__) #define log_error(...) fprintf(stderr, "ERROR: " __VA_ARGS__)
#define log_warning(...) fprintf(stderr, "Warning: " __VA_ARGS__)