#include <log.h>
Public Member Functions | |
| SLogfile (const char *fname) | |
| SLogfile (const SLogfile &x) | |
| SLogfile (const char *fname, const char *fnamew) | |
| void | flush () |
| Flush output. | |
| int | log (UserList *sender, interp::services_cmd_id cmd, const char *target, u_int32_t flags=0, const char *extra=nullFmtHack,...) __attribute__((format(printf |
| Normal log entry. | |
| int | logw (UserList *sender, interp::services_cmd_id cmd, const char *target, u_int32_t flags=0, const char *extra=nullFmtHack,...) __attribute__((format(printf |
| Working log only. | |
| int | logx (UserList *sender, int, interp::services_cmd_id cmd, const char *target, u_int32_t flags=0, const char *extra=nullFmtHack, va_list ap=NULL) |
| Create a new log entry in the file. | |
Private Attributes | |
| FILE * | fp |
| Log file pointer. | |
| FILE * | fpw |
| Log file pointer. | |
| char * | logFileName |
| char * | logwFileName |
| char | fp_noclose |
| char | fpw_noclose |
Definition at line 81 of file log.h.
|
||||||||||||||||||||||||||||
|
Normal log entry.
Definition at line 82 of file log.cc. References logx(). Referenced by expireChans(), IpcType::logMessage(), and IpcType::makeMessage(). |