#include <File.h>

Collaboration diagram for Logfile:

Public Member Functions

 Logfile (const char *aPath)
 
 ~Logfile ()
 

Public Attributes

char path [MAXPATHLEN]
 
struct {
   unsigned int   fatal
 
flags
 
int64_t sequence_number
 Unique sequence number per log line. More...
 
void * data
 
LOGLINESTARTf_linestart
 
LOGWRITEf_linewrite
 
LOGLINEENDf_lineend
 
LOGFLUSHf_flush
 
LOGROTATEf_rotate
 
LOGCLOSEf_close
 

Private Member Functions

 CBDATA_CLASS (Logfile)
 

Detailed Description

Definition at line 38 of file File.h.

Constructor & Destructor Documentation

◆ Logfile()

Logfile::Logfile ( const char *  aPath)
explicit

Definition at line 25 of file File.cc.

References flags, path, and xstrncpy().

◆ ~Logfile()

Logfile::~Logfile ( )
inline

Definition at line 44 of file File.h.

Member Function Documentation

◆ CBDATA_CLASS()

Logfile::CBDATA_CLASS ( Logfile  )
private

Member Data Documentation

◆ data

◆ f_close

◆ f_flush

◆ f_lineend

◆ f_linestart

◆ f_linewrite

LOGWRITE* Logfile::f_linewrite

◆ f_rotate

◆ fatal

unsigned int Logfile::fatal

◆ 

◆ path

◆ sequence_number

int64_t Logfile::sequence_number

Definition at line 52 of file File.h.

Referenced by logfileLineEnd().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors