Lines Matching full:journal
8 #include <systemd/sd-journal.h>
134 * @brief Create a file containing the latest journal traces for the
139 * @param[in] lines - number of journal lines to save
173 * @brief Returns a JSON structure containing the previous N journal
176 * @param[in] numLines - Number of lines of journal to retrieve
185 * @brief Gets the realtime (wallclock) timestamp for the current journal
188 * @param journal current journal entry
191 static std::string getTimeStamp(sd_journal* journal);
194 * @brief Gets the value of the specified field for the current journal
197 * Returns an empty string if the current journal entry does not have the
200 * @param journal current journal entry
201 * @param field journal field name
204 static std::string getFieldValue(sd_journal* journal,
210 * @brief Automatically closes the journal when the object goes out of scope.
222 JournalCloser(sd_journal* journal) : journal{journal} {} in JournalCloser() argument
226 sd_journal_close(journal); in ~JournalCloser()
230 sd_journal* journal{nullptr}; member in open_power::occ::JournalCloser