Public Member Functions | Static Public Attributes

TextLogObject Class Reference

#include <LogObject.h>

Inherits LogObject.

Collaboration diagram for TextLogObject:
Collaboration graph
[legend]

Public Member Functions

inkcoreapi TextLogObject (const char *name, const char *log_dir, bool timestamps, const char *header, Log::RollingEnabledValues rolling_enabled, int flush_threads, int rolling_interval_sec, int rolling_offset_hr, int rolling_size_mb)
inkcoreapi int write (const char *format,...) TS_PRINTFLIKE(2
inkcoreapi int inkcoreapi int va_write (const char *format, va_list ap)

Static Public Attributes

static const LogFormattextfmt = MakeTextLogFormat()

Detailed Description

Definition at line 256 of file LogObject.h.


Constructor & Destructor Documentation

TextLogObject::TextLogObject ( const char *  name,
const char *  log_dir,
bool  timestamps,
const char *  header,
Log::RollingEnabledValues  rolling_enabled,
int  flush_threads,
int  rolling_interval_sec,
int  rolling_offset_hr,
int  rolling_size_mb 
)

Definition at line 829 of file LogObject.cc.

References LogObject::set_fmt_timestamps().


Member Function Documentation

int TextLogObject::va_write ( const char *  format,
va_list  ap 
)

Definition at line 878 of file LogObject.cc.

References LogObject::va_log().

Referenced by write().

int TextLogObject::write ( const char *  format,
  ... 
)

Definition at line 854 of file LogObject.cc.

References ink_assert, and va_write().


Field Documentation

const LogFormat * TextLogObject::textfmt = MakeTextLogFormat() [static]

Definition at line 270 of file LogObject.h.


The documentation for this class was generated from the following files: