Squid Web Cache master
Loading...
Searching...
No Matches
Formats.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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_SRC_LOG_FORMATS_H
10#define SQUID_SRC_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
39
41void SquidNative(const AccessLogEntryPointer &al, Logfile * logfile);
42
44void SquidIcap(const AccessLogEntryPointer &al, Logfile * logfile);
45
47void SquidUserAgent(const AccessLogEntryPointer &al, Logfile * logfile);
48
50void SquidReferer(const AccessLogEntryPointer &al, Logfile * logfile);
51
54
56void HttpdCommon(const AccessLogEntryPointer &al, Logfile * logfile);
57
59void HttpdCombined(const AccessLogEntryPointer &al, Logfile * logfile);
60
61}; // namespace Format
62}; // namespace Log
63
64#endif /* SQUID_SRC_LOG_FORMATS_H */
65
RefCount< AccessLogEntry > AccessLogEntryPointer
Definition Formats.h:15
void log(char *format,...)
Definition File.h:39
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_USERAGENT
Definition Formats.h:36
@ CLF_REFERER
Definition Formats.h:34
@ CLF_UNKNOWN
Definition Formats.h:27
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