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

Method GetLogGroupStr

src/events/log.cpp:161–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160
161const std::string Log::GetLogGroupStr() const
162{
163 if ((uint8_t)group >= LogGroupCount)
164 {
165 return std::string("[group:"
166 + std::to_string(static_cast<uint8_t>(group))
167 + "]");
168 }
169 return LogGroup_str[(uint8_t)group];
170}
171
172
173const std::string Log::GetLogCategoryStr() const

Callers 3

GetJSONMethod · 0.80
WriteMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64