MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / ToString

Method ToString

source/server.cpp:127–132  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

125}
126//---------------------------------------------------------------------------
127AnsiString TSyslogMessage::ToString(void)
128{
129 return SourceAddr + '\t' + DateStr + '\t' + HostName + '\t' +
130 ((PRI >= 0) ? (Facility + '\t' + Priority) : AnsiString('\t')) + '\t' +
131 Tag + '\t' + Msg + CR;
132}
133//---------------------------------------------------------------------------
134void TSyslogMessage::FromString(char * p, int len)
135{

Callers 4

UdpReceiveMessageFunction · 0.80
TcpReceiveMessageFunction · 0.80
aViewFileExecuteMethod · 0.80
ProcessMessageRulesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected