Format::FmtConfig Class Reference

#include <Config.h>

Collaboration diagram for Format::FmtConfig:

Public Member Functions

void parseFormats ()
 Parse a log format directive line (logfile_format) More...
 
void dumpFormats (StoreEntry *e, const char *name)
 Dump/display the formats currently known to the provided StoreEntry object. More...
 
void registerTokens (const SBuf &nsName, TokenTableEntry const *tokenArray)
 

Public Attributes

Formatformats
 Linked list of custom formats. More...
 
std::list< TokenNamespacetokens
 list of token namespaces registered More...
 
bool hasAdaptToken
 
bool hasIcapToken
 

Detailed Description

The set of custom formats defined in squid.conf

Definition at line 42 of file Config.h.

Member Function Documentation

◆ dumpFormats()

void Format::FmtConfig::dumpFormats ( StoreEntry e,
const char *  name 
)
inline

Definition at line 49 of file Config.h.

References Format::Format::dump(), and formats.

◆ parseFormats()

void Format::FmtConfig::parseFormats ( )

◆ registerTokens()

void Format::FmtConfig::registerTokens ( const SBuf nsName,
TokenTableEntry const *  tokenArray 
)

Definition at line 48 of file Config.cc.

References DBG_CRITICAL, debugs, and tokens.

Referenced by Format::Token::Init().

Member Data Documentation

◆ formats

Format* Format::FmtConfig::formats

Definition at line 61 of file Config.h.

Referenced by dumpFormats(), and parseFormats().

◆ hasAdaptToken

bool Format::FmtConfig::hasAdaptToken

Definition at line 67 of file Config.h.

◆ hasIcapToken

bool Format::FmtConfig::hasIcapToken

Definition at line 71 of file Config.h.

◆ tokens

std::list<TokenNamespace> Format::FmtConfig::tokens

Definition at line 64 of file Config.h.

Referenced by Format::Token::parse().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors