![]() |
Data Fields | |
Q_MUTEX_T | qmutex |
char | filepathfmt [PATH_MAX] |
char | filepath [PATH_MAX] |
FILE * | fp |
mode_t | mode |
int | rotateinterval |
int | nextrotate |
bool | logflush |
FILE * | outfp |
bool | outflush |
bool(* | write )(Q_LOG *log, const char *str) |
bool(* | writef )(Q_LOG *log, const char *format,...) |
bool(* | duplicate )(Q_LOG *log, FILE *outfp, bool flush) |
bool(* | flush )(Q_LOG *log) |
bool(* | free )(Q_LOG *log) |
only used if compiled with --enable-threadsafe option
char _Q_LOG::filepathfmt[PATH_MAX] |
file file naming format like /somepath/qdecoder-Ymd.log
char _Q_LOG::filepath[PATH_MAX] |
generated system path of log file
FILE* _Q_LOG::fp |
file pointer of logpath
mode_t _Q_LOG::mode |
file mode
log file will be rotate in this interval seconds
next rotate universal time, seconds
bool _Q_LOG::logflush |
flag for immediate flushing
FILE* _Q_LOG::outfp |
stream pointer for duplication
bool _Q_LOG::outflush |
flag for immediate flushing for duplicated stream