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.
| 180 | // entire entry as a string without any field substitutions. To |
| 181 | // indicate this, the format_str will be NULL. |
| 182 | static inline LogFormat * |
| 183 | MakeTextLogFormat(const char *name = "text") |
| 184 | { |
| 185 | return new LogFormat(name, nullptr /* format_str */); |
| 186 | } |
| 187 | |
| 188 | /*------------------------------------------------------------------------- |
| 189 | LogFormatList |
no outgoing calls
no test coverage detected