]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/Config.cc
2 #include "log/Config.h"
5 Log::LogConfig
Log::TheConfig
;
8 Log::LogConfig::parseFormats()
12 if ((name
= strtok(NULL
, w_space
)) == NULL
)
15 if ((def
= strtok(NULL
, "\r\n")) == NULL
) {
20 debugs(3, 2, "Log Format for '" << name
<< "' is '" << def
<< "'");
22 ::Format::Format
*nlf
= new ::Format::Format(name
);
24 if (!nlf
->parse(def
)) {
29 // add to global config list
30 nlf
->next
= logformats
;