MCPcopy Create free account
hub / github.com/Haivision/srt / Proxy

Method Proxy

srtcore/logging.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#if ENABLE_LOGGING
28
29LogDispatcher::Proxy::Proxy(LogDispatcher& guy) : that(guy), that_enabled(that.CheckEnabled())
30{
31 if (that_enabled)
32 {
33 i_file = "";
34 i_line = 0;
35 flags = that.src_config->flags;
36 // Create logger prefix
37 that.CreateLogLinePrefix(os);
38 }
39}
40
41LogDispatcher::Proxy LogDispatcher::operator()()
42{

Callers

nothing calls this directly

Calls 2

CheckEnabledMethod · 0.80
CreateLogLinePrefixMethod · 0.80

Tested by

no test coverage detected