MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / Parse

Method Parse

src/log/journal-log-parse.cpp:285–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283//
284
285Parse::Parse()
286{
287 int r = sd_journal_open(&journal, SD_JOURNAL_SYSTEM);
288 if (r < 0)
289 {
290 throw Exception("Error calling sd_journal_open()");
291 }
292}
293
294
295Parse::~Parse() noexcept

Callers 1

TEST_FFunction · 0.45

Calls 1

ExceptionClass · 0.70

Tested by 1

TEST_FFunction · 0.36