]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/Formats.h
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
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.
9 #ifndef _SQUID_LOG_FORMATS_H
10 #define _SQUID_LOG_FORMATS_H
12 #include "AccessLogEntry.h"
13 #include "base/RefCount.h"
15 typedef RefCount
<AccessLogEntry
> AccessLogEntryPointer
;
40 /// Native Squid Format Display
41 void SquidNative(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
43 /// Display log details in Squid ICAP format.
44 void SquidIcap(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
46 /// Display log details in useragent format.
47 void SquidUserAgent(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
49 /// Display log details in Squid old refererlog format.
50 void SquidReferer(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
52 /// Log with a local custom format
53 void SquidCustom(const AccessLogEntryPointer
&al
, CustomLog
* log
);
55 /// Log with Apache httpd common format
56 void HttpdCommon(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
58 /// Log with Apache httpd combined format
59 void HttpdCombined(const AccessLogEntryPointer
&al
, Logfile
* logfile
);
61 }; // namespace Format
64 #endif /* _SQUID_LOG_FORMATS_H */