]>
git.ipfire.org Git - thirdparty/squid.git/blob - tools/squidclient/Parameters.h
2 * Copyright (C) 1996-2023 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_TOOLS_SQUIDCLIENT_PARAMETERS_H
10 #define _SQUID_TOOLS_SQUIDCLIENT_PARAMETERS_H
13 * squidclient command line parameters.
18 Parameters() : verbosityLevel(0) {}
21 * What verbosity level to display.
23 * 0 : display no debug traces
24 * 1 : display outgoing request message
25 * 2+ : display all actions taken
30 /// display debug messages at varying verbosity levels
31 #define debugVerbose(LEVEL, MESSAGE) \
32 while ((LEVEL) <= scParams.verbosityLevel) {std::cerr << MESSAGE << std::endl; break;}
34 /// global squidcleint parameters
35 extern Parameters scParams
;
37 #endif /* _SQUID_TOOLS_SQUIDCLIENT_PARAMETERS_H */