]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/Config.h
2 * Copyright (C) 1996-2021 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_SRC_LOG_CONFIG_H
10 #define SQUID_SRC_LOG_CONFIG_H
12 #include "format/Format.h"
23 void dumpFormats(StoreEntry
*e
, const char *name
) {
24 logformats
->dump(e
, name
);
27 /// File path to logging daemon executable
30 /// Linked list of custom log formats
31 ::Format::Format
*logformats
;
42 extern LogConfig TheConfig
;
46 // Legacy parsing wrappers
47 #define parse_logformat(X) (X)->parseFormats()
48 #define free_logformat(X) do{ delete (*X).logformats; (*X).logformats=NULL; }while(false)
49 #define dump_logformat(E,N,D) (D).dumpFormats((E),(N))