diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2022-08-12 13:09:50 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2022-11-04 13:12:56 +0000 |
commit | f19aa4d99a101c932ffed72a4ac54ebe6892d037 (patch) | |
tree | 45f361d27b29478d8b4db2354f291d72295d7c32 /src/mm-log.h | |
parent | ddfdbf66f69e1b6573b4c8eb881258b12678ee4b (diff) |
log: new helper to allow printing or hiding personal info
Diffstat (limited to 'src/mm-log.h')
-rw-r--r-- | src/mm-log.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-log.h b/src/mm-log.h index 4055718d..a6923eff 100644 --- a/src/mm-log.h +++ b/src/mm-log.h @@ -68,4 +68,9 @@ gboolean mm_log_setup (const gchar *level, GError **error); void mm_log_shutdown (void); +/* Helper used when printing a string that may be personal + * info. Depending on the settings, we may print it as-is, + * or otherwise provide a fallback string. */ +const gchar *mm_log_str_personal_info (const gchar *str); + #endif /* MM_LOG_H */ |