]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/Config.cc
3 #include "log/Config.h"
6 Log::LogConfig
Log::TheConfig
;
9 Log::LogConfig::parseFormats()
13 if ((name
= strtok(NULL
, w_space
)) == NULL
)
16 if ((def
= strtok(NULL
, "\r\n")) == NULL
) {
21 debugs(3, 2, "Log Format for '" << name
<< "' is '" << def
<< "'");
23 ::Format::Format
*nlf
= new ::Format::Format(name
);
25 if (!nlf
->parse(def
)) {
30 // add to global config list
31 nlf
->next
= logformats
;