]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/FormatSquidCustom.cc
2 * Copyright (C) 1996-2017 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 /* DEBUG: section 46 Access Log - Squid Custom format */
12 #include "AccessLogEntry.h"
13 #include "format/Format.h"
14 #include "log/CustomLog.h"
16 #include "log/Formats.h"
20 Log::Format::SquidCustom(const AccessLogEntry::Pointer
&al
, CustomLog
* log
)
25 // XXX: because we do not yet have a neutral form of transaction slab. use AccessLogEntry
26 log
->logFormat
->assemble(mb
, al
, log
->logfile
->sequence_number
);
28 logfilePrintf(log
->logfile
, "%s\n", mb
.buf
);