|
Data Fields | |
| Q_MUTEX_T | qmutex |
| char | filepathfmt [PATH_MAX] |
| char | filepath [PATH_MAX] |
| FILE * | fp |
| 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
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
| [Home] [About] [Examples] [Changes] [Download] [SVN Repository] [Install] [Reference] |