MCPcopy Create free account
hub / github.com/apache/trafficserver / MakeTextLogFormat

Function MakeTextLogFormat

include/proxy/logging/LogFormat.h:182–186  ·  view source on GitHub ↗

For text logs, there is no format string; we'll simply log the entire entry as a string without any field substitutions. To indicate this, the format_str will be NULL.

Source from the content-addressed store, hash-verified

180// entire entry as a string without any field substitutions. To
181// indicate this, the format_str will be NULL.
182static inline LogFormat *
183MakeTextLogFormat(const char *name = "text")
184{
185 return new LogFormat(name, nullptr /* format_str */);
186}
187
188/*-------------------------------------------------------------------------
189 LogFormatList

Callers 3

LogObject.ccFile · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected