#include "squid.h"
#include "fde.h"
#include "log/File.h"
#include "tests/STUB.h"
#include "AccessLogEntry.h"
#include "log/access_log.h"
#include "log/Config.h"
#include "log/FormattedLog.h"
#include "log/Formats.h"
#include "log/ModDaemon.h"
#include "log/ModStdio.h"
#include "log/ModSyslog.h"
#include "log/ModUdp.h"
#include "log/TcpLogger.h"
Go to the source code of this file.
Macros | |
#define | STUB_API "log/liblog.la" |
Functions | |
Logfile * | logfileOpen (const char *, size_t, int) STUB_RETVAL(nullptr) void logfileClose(Logfile *) STUB void logfileRotate(Logfile * |
Logfile int16_t STUB void | logfileWrite (Logfile *, const char *, size_t) STUB void logfileFlush(Logfile *) STUB void logfilePrintf(Logfile * |
Logfile int16_t STUB void const char STUB void | logfileLineStart (Logfile *) STUB void logfileLineEnd(Logfile *) STUB namespace Log |
int | logfile_mod_daemon_open (Logfile *, const char *, size_t, int) STUB_RETVAL(0) int logfile_mod_stdio_open(Logfile * |
int const char int | STUB_RETVAL (0) int logfile_mod_syslog_open(Logfile * |
Variables | |
int const char | size_t |
Macro Definition Documentation
◆ STUB_API
#define STUB_API "log/liblog.la" |
Definition at line 13 of file stub_liblog.cc.
Function Documentation
◆ logfile_mod_daemon_open()
Definition at line 210 of file ModDaemon.cc.
References SquidConfig::buffered_logs, BUFSIZ, cbdataInternalLock(), Config, Logfile::data, DBG_IMPORTANT, debugs, _l_daemon::eol, eventAdd(), Logfile::f_close, Logfile::f_flush, Logfile::f_lineend, Logfile::f_linestart, Logfile::f_linewrite, Logfile::f_rotate, fatal(), IPC_STREAM, ipcCreate(), SquidConfig::Log, logfile_mod_daemon_append(), logfile_mod_daemon_close, logfile_mod_daemon_flush, logfile_mod_daemon_lineend, logfile_mod_daemon_linestart, logfile_mod_daemon_rotate, logfile_mod_daemon_writeline, logfileFlushEvent(), _l_daemon::nbufs, SquidConfig::onoff, _l_daemon::pid, _l_daemon::rfd, SquidConfig::rotateNumber, Ip::Address::setLocalhost(), Log::TheConfig, _l_daemon::wfd, xcalloc(), xfree, and xmalloc.
◆ logfileLineStart()
Definition at line 61 of file stub_liblog.cc.
References Logfile::f_linestart, Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), Log::Format::SquidCustom(), Log::Format::SquidIcap(), Log::Format::SquidNative(), Log::Format::SquidReferer(), Log::Format::SquidUserAgent(), and STUB.
◆ logfileOpen()
Definition at line 40 of file File.cc.
References assert, Logfile::data, DBG_IMPORTANT, debugs, Logfile::f_close, Logfile::fatal, fatalf(), Logfile::flags, Important, logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_syslog_open(), logfile_mod_udp_open(), MAXPATHLEN, Log::TcpLogger::Open(), Logfile::path, and Logfile::sequence_number.
◆ logfileWrite()
Definition at line 108 of file File.cc.
References Logfile::f_linewrite.
◆ STUB_RETVAL()
Definition at line 89 of file stub_liblog.cc.
References CBDATA_CLASS_INIT, and Log::TcpLogger::Open().
Variable Documentation
◆ size_t
Definition at line 83 of file stub_liblog.cc.
Referenced by IdleConnList::closeN(), MemBuf::grow(), main(), MainSafe(), rfc1035NameUnpack(), TestEvent::testDump(), Adaptation::Icap::ModXact::writePreviewBody(), and Adaptation::Icap::ModXact::writePrimeBody().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products