File.cc File Reference
#include "squid.h"
#include "debug/Messages.h"
#include "fatal.h"
#include "fde.h"
#include "log/File.h"
#include "log/ModDaemon.h"
#include "log/ModStdio.h"
#include "log/ModSyslog.h"
#include "log/ModUdp.h"
#include "log/TcpLogger.h"
#include "sbuf/SBuf.h"
Include dependency graph for File.cc:

Go to the source code of this file.

Functions

 CBDATA_CLASS_INIT (Logfile)
 
LogfilelogfileOpen (const char *path, size_t bufsz, int fatal_flag)
 
void logfileClose (Logfile *lf)
 
void logfileRotate (Logfile *lf, int16_t rotateCount)
 
void logfileWrite (Logfile *lf, const char *buf, size_t len)
 
void logfilePrintf (Logfile *lf, const char *fmt,...)
 
void logfileLineStart (Logfile *lf)
 
void logfileLineEnd (Logfile *lf)
 
void logfileFlush (Logfile *lf)
 

Function Documentation

◆ CBDATA_CLASS_INIT()

CBDATA_CLASS_INIT ( Logfile  )

◆ logfileClose()

void logfileClose ( Logfile lf)

◆ logfileFlush()

void logfileFlush ( Logfile lf)

◆ logfileLineEnd()

void logfileLineEnd ( Logfile lf)

Definition at line 132 of file File.cc.

References Logfile::f_lineend, and Logfile::sequence_number.

Referenced by accessLogLogTo(), Security::KeyLog::record(), and storeLog().

◆ logfileLineStart()

void logfileLineStart ( Logfile lf)

Definition at line 126 of file File.cc.

References Logfile::f_linestart.

Referenced by accessLogLogTo(), Security::KeyLog::record(), and storeLog().

◆ logfileOpen()

◆ logfilePrintf()

◆ logfileRotate()

void logfileRotate ( Logfile lf,
int16_t  rotateCount 
)

Definition at line 101 of file File.cc.

References DBG_IMPORTANT, debugs, Logfile::f_rotate, and Logfile::path.

Referenced by icapLogRotate(), FormattedLog::rotate(), and storeLogRotate().

◆ logfileWrite()

void logfileWrite ( Logfile lf,
const char *  buf,
size_t  len 
)

Definition at line 108 of file File.cc.

References Logfile::f_linewrite.

Referenced by logfilePrintf().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors