| 853 | const LogFormat *TextLogObject::textfmt = MakeTextLogFormat(); |
| 854 | |
| 855 | TextLogObject::TextLogObject(const char *name, const char *log_dir, bool timestamps, const char *header, |
| 856 | Log::RollingEnabledValues rolling_enabled, int flush_threads, int rolling_interval_sec, |
| 857 | int rolling_offset_hr, int rolling_size_mb, int rolling_max_count, int rolling_min_count, |
| 858 | bool reopen_after_rolling, bool fast) |
| 859 | : LogObject(Log::config, TextLogObject::textfmt, log_dir, name, LOG_FILE_ASCII, header, rolling_enabled, flush_threads, |
| 860 | rolling_interval_sec, rolling_offset_hr, rolling_size_mb, /* auto_created */ false, rolling_max_count, |
| 861 | rolling_min_count, reopen_after_rolling, 0, fast) |
| 862 | { |
| 863 | if (timestamps) { |
| 864 | this->set_fmt_timestamps(); |
| 865 | } |
| 866 | } |
| 867 | |
| 868 | /*------------------------------------------------------------------------- |
| 869 | TextLogObject::write |
nothing calls this directly
no test coverage detected