MCPcopy Create free account
hub / github.com/ddnet/ddnet / Log

Method Log

src/game/server/gamecontext.cpp:60–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60void CClientChatLogger::Log(const CLogMessage *pMessage)
61{
62 if(str_comp(pMessage->m_aSystem, "chatresp") == 0)
63 {
64 if(m_Filter.Filters(pMessage))
65 {
66 return;
67 }
68 m_pGameServer->SendChatTarget(m_ClientId, pMessage->Message());
69 }
70 else
71 {
72 m_pOuterLogger->Log(pMessage);
73 }
74}
75
76CGameContext::CGameContext(bool Resetting) :
77 m_Mutes("mutes"),

Callers

nothing calls this directly

Calls 4

str_compFunction · 0.85
FiltersMethod · 0.80
SendChatTargetMethod · 0.80
MessageMethod · 0.80

Tested by

no test coverage detected