Formats.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef _SQUID_LOG_FORMATS_H
10 #define _SQUID_LOG_FORMATS_H
11 
12 #include "AccessLogEntry.h"
13 #include "base/RefCount.h"
14 
16 class AccessLogEntry;
17 class CustomLog;
18 class Logfile;
19 
20 namespace Log
21 {
22 
23 namespace Format
24 {
25 
26 typedef enum {
31 #if ICAP_CLIENT
33 #endif
37  CLF_NONE
39 
42 
45 
48 
51 
54 
57 
60 
61 }; // namespace Format
62 }; // namespace Log
63 
64 #endif /* _SQUID_LOG_FORMATS_H */
65 
void HttpdCombined(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd combined format.
void SquidIcap(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid ICAP format.
@ CLF_COMMON
Definition: Formats.h:29
void log(char *format,...)
@ CLF_COMBINED
Definition: Formats.h:28
void HttpdCommon(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd common format.
@ CLF_CUSTOM
Definition: Formats.h:30
static FILE * logfile
@ CLF_ICAP_SQUID
Definition: Formats.h:32
@ CLF_SQUID
Definition: Formats.h:35
@ CLF_REFERER
Definition: Formats.h:34
void SquidNative(const AccessLogEntryPointer &al, Logfile *logfile)
Native Squid Format Display.
@ CLF_UNKNOWN
Definition: Formats.h:27
RefCount< AccessLogEntry > AccessLogEntryPointer
Definition: Formats.h:15
Definition: File.h:39
Definition: Config.h:18
@ CLF_USERAGENT
Definition: Formats.h:36
void SquidCustom(const AccessLogEntryPointer &al, CustomLog *log)
Log with a local custom format.
void SquidReferer(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid old refererlog format.
@ CLF_NONE
Definition: Formats.h:37
void SquidUserAgent(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in useragent format.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors