diff options
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r-- | src/libutil/logging.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index 21898c03a276..677aa4daec4d 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -130,6 +130,12 @@ extern Logger * logger; Logger * makeDefaultLogger(); +Logger * makeJSONLogger(Logger & prevLogger); + +bool handleJSONLogMessage(const std::string & msg, + const Activity & act, std::map<ActivityId, Activity> & activities, + bool trusted); + extern Verbosity verbosity; /* suppress msgs > this */ /* Print a message if the current log level is at least the specified |