Formats.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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
16class AccessLogEntry;
17class CustomLog;
18class Logfile;
19
20namespace Log
21{
22
23namespace Format
24{
25
26typedef enum {
31#if ICAP_CLIENT
33#endif
39
42
45
48
51
54
57
60
61}; // namespace Format
62}; // namespace Log
63
64#endif /* _SQUID_LOG_FORMATS_H */
65
RefCount< AccessLogEntry > AccessLogEntryPointer
Definition: Formats.h:15
void log(char *format,...)
Definition: File.h:39
static FILE * logfile
void HttpdCombined(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd combined format.
void SquidCustom(const AccessLogEntryPointer &al, CustomLog *log)
Log with a local custom format.
void SquidIcap(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid ICAP format.
void SquidUserAgent(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in useragent format.
@ CLF_COMBINED
Definition: Formats.h:28
@ CLF_ICAP_SQUID
Definition: Formats.h:32
@ CLF_COMMON
Definition: Formats.h:29
@ CLF_USERAGENT
Definition: Formats.h:36
@ CLF_SQUID
Definition: Formats.h:35
@ CLF_REFERER
Definition: Formats.h:34
@ CLF_NONE
Definition: Formats.h:37
@ CLF_UNKNOWN
Definition: Formats.h:27
@ CLF_CUSTOM
Definition: Formats.h:30
void HttpdCommon(const AccessLogEntryPointer &al, Logfile *logfile)
Log with Apache httpd common format.
void SquidNative(const AccessLogEntryPointer &al, Logfile *logfile)
Native Squid Format Display.
void SquidReferer(const AccessLogEntryPointer &al, Logfile *logfile)
Display log details in Squid old refererlog format.
Definition: Config.h:18

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors