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

Function ParseLog

src/events/log.cpp:359–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357
358
359Log ParseLog(const std::string &grp_s,
360 const std::string &ctg_s,
361 const std::string &sess_token,
362 const std::string &msg,
363 bool filter_nl)
364{
365 auto [grp, ctg] = parse_group_category(grp_s, ctg_s);
366 return sess_token.empty()
367 ? Log(grp, ctg, msg, filter_nl)
368 : Log(grp, ctg, sess_token, msg, filter_nl);
369}
370
371
372Log ParseLog(const std::string &grp_s,

Callers 8

LogEntryMethod · 0.85
GetLastLogEventMethod · 0.85
TESTFunction · 0.85
test2_with_session_tokenFunction · 0.85
process_signalMethod · 0.85
LogMethod · 0.85
ReceiveLogMethod · 0.85

Calls 7

parse_group_categoryFunction · 0.85
parse_dictFunction · 0.85
parse_tupleFunction · 0.85
LogExceptionClass · 0.85
SetDBusSenderMethod · 0.80
LogClass · 0.70
emptyMethod · 0.45

Tested by 4

TESTFunction · 0.68
test2_with_session_tokenFunction · 0.68
process_signalMethod · 0.68