Definition at line 608 of file mlogger.cxx.
◆ WriterGzip()
WriterGzip::WriterGzip |
( |
LOG_CHN * |
log_chn, |
|
|
int |
compress |
|
) |
| |
|
inline |
Definition at line 611 of file mlogger.cxx.
612 {
616 if (
log_chn->settings.gzip_compression) {
618 } else {
620 }
622 }
static void compress(int init_bits, gdGifBuffer *buffer, gdImagePtr im)
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
◆ ~WriterGzip()
WriterGzip::~WriterGzip |
( |
| ) |
|
|
inline |
◆ wr_close()
Implements WriterInterface.
Definition at line 715 of file mlogger.cxx.
716 {
718
720 printf(
"WriterGzip: close path [%s]\n",
log_chn->path.c_str());
721
723
725
727
731 }
732
735
739 }
740
742
744 }
double ss_file_size(const char *path)
INT cm_msg(INT message_type, const char *filename, INT line, const char *routine, const char *format,...)
◆ wr_get_chain()
std::string WriterGzip::wr_get_chain |
( |
| ) |
|
|
inlinevirtual |
◆ wr_get_file_ext()
std::string WriterGzip::wr_get_file_ext |
( |
| ) |
|
|
inlinevirtual |
◆ wr_open()
Implements WriterInterface.
Definition at line 631 of file mlogger.cxx.
632 {
634
637
639 printf(
"WriterGzip: open path [%s]\n",
log_chn->path.c_str());
640
642
645
650 }
651
653
654
655
661 }
662 }
663
664#if ZLIB_VERNUM > 0x1235
665
670 }
671#else
672#warning Very old zlib, no gzbuffer()!
673#endif
674
676
679 }
static bool check_file_exists(const char *filename)
◆ wr_write()
Implements WriterInterface.
Definition at line 681 of file mlogger.cxx.
682 {
684 printf(
"WriterGzip: write path [%s], size %d\n",
log_chn->path.c_str(), size);
685
686 if (size == 0)
688
690
692
694
698 }
699
700#if ZLIB_VERNUM > 0x1235
701
703#else
704#warning Very old zlib, no gzoffset()!
709 }
710#endif
711
713 }
◆ fCompress
int WriterGzip::fCompress |
|
private |
◆ fFilename
std::string WriterGzip::fFilename |
|
private |
◆ fGzfp
◆ fLastCheckTime
time_t WriterGzip::fLastCheckTime |
|
private |
The documentation for this class was generated from the following file: