FormattedLog.h
Go to the documentation of this file.
Definition: ConfigParser.h:46
Definition: Format.h:42
Definition: FormattedLog.h:25
void dumpOptions(std::ostream &os) const
reports explicitly-configured key=value options, in squid.conf format
Definition: FormattedLog.cc:83
void setLogformat(const char *logformatName)
configures formatting-related settings for the given logformat name
Definition: FormattedLog.cc:127
bool fatal
whether unrecoverable errors (e.g., dropping a log record) kill worker
Definition: FormattedLog.h:76
FormattedLog()=default
Format::Format * logFormat
custom log record template for type == Log::Format::CLF_CUSTOM
Definition: FormattedLog.h:64
size_t bufferSize
how much to buffer before dropping or dying (buffer-size=N)
Definition: FormattedLog.h:70
std::optional< unsigned int > rotationsToKeep
how many log files to retain when rotating. Default: obey logfile_rotate
Definition: FormattedLog.h:73
FormattedLog(FormattedLog &&)=delete
void parseOptions(ConfigParser &, const char *defaultFormat)
Definition: FormattedLog.cc:36