]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/Config.cc
3 #include "ConfigParser.h"
5 #include "log/Config.h"
7 Log::LogConfig
Log::TheConfig
;
10 Log::LogConfig::parseFormats()
14 if ((name
= ConfigParser::NextToken()) == NULL
)
17 ::Format::Format
*nlf
= new ::Format::Format(name
);
19 ConfigParser::EnableMacros();
20 if ((def
= ConfigParser::NextQuotedOrToEol()) == NULL
) {
24 ConfigParser::DisableMacros();
26 debugs(3, 2, "Log Format for '" << name
<< "' is '" << def
<< "'");
28 if (!nlf
->parse(def
)) {
33 // add to global config list
34 nlf
->next
= logformats
;