MCPcopy Create free account
hub / github.com/apache/trafficserver / TextLogObject

Method TextLogObject

src/proxy/logging/LogObject.cc:855–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853const LogFormat *TextLogObject::textfmt = MakeTextLogFormat();
854
855TextLogObject::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

Callers

nothing calls this directly

Calls 1

set_fmt_timestampsMethod · 0.80

Tested by

no test coverage detected