diff options
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/log.c | 3 | ||||
-rw-r--r-- | src/basic/log.h | 13 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/basic/log.c b/src/basic/log.c index 3b7bff3a97..37a5ffa74f 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -699,8 +699,7 @@ int log_internal_realm( return r; } -_printf_(10,0) -static int log_object_internalv( +int log_object_internalv( int level, int error, const char *file, diff --git a/src/basic/log.h b/src/basic/log.h index 113e0dedee..aa3d5b75f1 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -115,6 +115,19 @@ int log_internalv_realm( log_internalv_realm(LOG_REALM_PLUS_LEVEL(LOG_REALM, (level)), __VA_ARGS__) /* Realm is fixed to LOG_REALM_SYSTEMD for those */ +int log_object_internalv( + int level, + int error, + const char *file, + int line, + const char *func, + const char *object_field, + const char *object, + const char *extra_field, + const char *extra, + const char *format, + va_list ap) _printf_(10,0); + int log_object_internal( int level, int error, |