mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
log: introduce log_trace_errno()
This commit is contained in:
parent
dd802109c6
commit
68a2ed61eb
@ -273,9 +273,11 @@ int log_emergency_level(void);
|
||||
})
|
||||
|
||||
#if LOG_TRACE
|
||||
# define log_trace(...) log_debug(__VA_ARGS__)
|
||||
# define log_trace(...) log_debug(__VA_ARGS__)
|
||||
# define log_trace_errno(...) log_debug_errno(__VA_ARGS__)
|
||||
#else
|
||||
# define log_trace(...) do {} while (0)
|
||||
# define log_trace(...) do {} while (0)
|
||||
# define log_trace_errno(e, ...) (-ERRNO_VALUE(e))
|
||||
#endif
|
||||
|
||||
/* Structured logging */
|
||||
|
Loading…
x
Reference in New Issue
Block a user