log: expose log_object_internalv()

This commit is contained in:
Yu Watanabe 2019-03-08 14:21:15 +09:00
parent fa28e4e377
commit f6d6d53237
2 changed files with 14 additions and 2 deletions

View File

@ -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,

View File

@ -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,