util/log: Remove log_error, replace occurances with log_warning

log_error was using the log_writer_fatal impl which conflicts with
how this is used on AVS. Therefore, achieve a visible "error"
message in inject by using log_warning + ERROR string in the message
This commit is contained in:
icex2
2020-09-02 19:53:07 +00:00
parent afba1d5a39
commit 2280e17f1e
4 changed files with 31 additions and 33 deletions
-2
View File
@@ -22,7 +22,6 @@
#define log_misc(...) log_impl_misc(LOG_MODULE, __VA_ARGS__)
#define log_info(...) log_impl_info(LOG_MODULE, __VA_ARGS__)
#define log_warning(...) log_impl_warning(LOG_MODULE, __VA_ARGS__)
#define log_error(...) log_impl_fatal(LOG_MODULE, __VA_ARGS__)
/* This doesn't really belong here, but it's what libavs does so w/e */
@@ -38,7 +37,6 @@
#define log_misc(...)
#define log_info(...)
#define log_warning(...)
#define log_error(...)
#define log_assert(x) \
do { \
if (!(x)) { \