#include <File.h>
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 |
LOGLINESTART * | f_linestart |
LOGWRITE * | f_linewrite |
LOGLINEEND * | f_lineend |
LOGFLUSH * | f_flush |
LOGROTATE * | f_rotate |
LOGCLOSE * | f_close |
Private Member Functions | |
CBDATA_CLASS (Logfile) | |
Detailed Description
Constructor & Destructor Documentation
◆ Logfile()
|
explicit |
Definition at line 25 of file File.cc.
References flags, path, and xstrncpy().
◆ ~Logfile()
Member Function Documentation
◆ CBDATA_CLASS()
|
private |
Member Data Documentation
◆ data
void* Logfile::data |
Definition at line 55 of file File.h.
Referenced by Log::TcpLogger::Close(), logfile_mod_daemon_append(), logfile_mod_daemon_close(), logfile_mod_daemon_flush(), logfile_mod_daemon_lineend(), logfile_mod_daemon_linestart(), logfile_mod_daemon_open(), logfile_mod_daemon_writeline(), logfile_mod_stdio_close(), logfile_mod_stdio_flush(), logfile_mod_stdio_open(), logfile_mod_stdio_rotate(), logfile_mod_stdio_writeline(), logfile_mod_udp_close(), logfile_mod_udp_flush(), logfile_mod_udp_open(), logfile_mod_udp_write(), logfile_mod_udp_writeline(), logfileFreeBuffer(), logfileHandleWrite(), logfileNewBuffer(), logfileQueueWrite(), logfileWriteWrapper(), Log::TcpLogger::Open(), and Log::TcpLogger::StillLogging().
◆ f_close
LOGCLOSE* Logfile::f_close |
Definition at line 62 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileClose(), and Log::TcpLogger::Open().
◆ f_flush
LOGFLUSH* Logfile::f_flush |
Definition at line 60 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_close(), logfile_mod_stdio_lineend(), logfile_mod_stdio_open(), logfile_mod_udp_close(), logfile_mod_udp_lineend(), logfile_mod_udp_open(), logfileClose(), logfileFlush(), and Log::TcpLogger::Open().
◆ f_lineend
LOGLINEEND* Logfile::f_lineend |
Definition at line 59 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileLineEnd(), and Log::TcpLogger::Open().
◆ f_linestart
LOGLINESTART* Logfile::f_linestart |
Definition at line 57 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileLineStart(), and Log::TcpLogger::Open().
◆ f_linewrite
LOGWRITE* Logfile::f_linewrite |
Definition at line 58 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileWrite(), and Log::TcpLogger::Open().
◆ f_rotate
LOGROTATE* Logfile::f_rotate |
Definition at line 61 of file File.h.
Referenced by logfile_mod_daemon_open(), logfile_mod_stdio_open(), logfile_mod_udp_open(), logfileRotate(), and Log::TcpLogger::Open().
◆ fatal
unsigned int Logfile::fatal |
Definition at line 49 of file File.h.
Referenced by logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfileWriteWrapper(), and Log::TcpLogger::Open().
◆
struct { ... } Logfile::flags |
Referenced by Logfile(), logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfileWriteWrapper(), and Log::TcpLogger::Open().
◆ path
char Logfile::path[MAXPATHLEN] |
Definition at line 46 of file File.h.
Referenced by Logfile(), logfile_mod_daemon_append(), logfile_mod_daemon_close(), logfile_mod_daemon_flush(), logfile_mod_daemon_rotate(), logfile_mod_daemon_writeline(), logfile_mod_stdio_open(), logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfileClose(), logfileHandleWrite(), logfileNewBuffer(), logfileRotate(), logfileWriteWrapper(), and Log::TcpLogger::Open().
◆ 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: