File.cc File Reference
#include "squid.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 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, 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 140 of file File.cc.

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

Referenced by accessLogLogTo(), and storeLog().

◆ logfileLineStart()

void logfileLineStart ( Logfile lf)

Definition at line 134 of file File.cc.

Referenced by accessLogLogTo(), and storeLog().

◆ logfileOpen()

Logfile* logfileOpen ( const char *  path,
size_t  bufsz,
int  fatal_flag 
)

Definition at line 38 of file File.cc.

Referenced by accessLogInit(), icapLogOpen(), netdbSaveState(), and storeLogOpen().

◆ logfilePrintf()

◆ logfileRotate()

void logfileRotate ( Logfile lf,
int16_t  rotateCount 
)

Definition at line 99 of file File.cc.

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

Referenced by accessLogRotate(), icapLogRotate(), and storeLogRotate().

◆ logfileWrite()

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

Definition at line 106 of file File.cc.

Referenced by logfilePrintf(), and mcast_encode().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors