summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-28 09:30:59 +0200
committerDavid Lamparter <equinox@diac24.net>2021-02-01 17:28:09 +0100
commit131879fb926798bfefd80b0e2cba266919c5be1d (patch)
treed3969846271acbdc3f2cdb9161f813b1353f4988 /lib/log.h
parent60a3efec2458d9a1531f8204d0e4a91729d3fc00 (diff)
lib/xref: add xrefs on zlog_* calls
This allows extracting a list of all log messages including their ECs and autogenerated unique IDs for them. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/log.h b/lib/log.h
index 3d2f0ed829..7147253644 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -62,16 +62,6 @@ struct message {
const char *str;
};
-/* For logs which have error codes associated with them */
-#define flog_err(ferr_id, format, ...) \
- zlog_err("[EC %u] " format, ferr_id, ##__VA_ARGS__)
-#define flog_err_sys(ferr_id, format, ...) \
- flog_err(ferr_id, format, ##__VA_ARGS__)
-#define flog_warn(ferr_id, format, ...) \
- zlog_warn("[EC %u] " format, ferr_id, ##__VA_ARGS__)
-#define flog(priority, ferr_id, format, ...) \
- zlog(priority, "[EC %u] " format, ferr_id, ##__VA_ARGS__)
-
extern void zlog_thread_info(int log_level);
#define ZLOG_FILTERS_MAX 100 /* Max # of filters at once */