This class provides a value‐semantic type for representing options used to configure log record formatters. These options are supplemental to the format specification string and affect how certain fields in log records are rendered. Currently, the only supported option is timezoneDefault, which controls whether timestamps are displayed in UTC or local time.

Synopsis

Declared in <ball_recordformatteroptions.h>

class RecordFormatterOptions;

Member Functions

Name

Description

RecordFormatterOptions [constructor]

Constructors

setTimezoneDefault

Set the timezone default value attribute of this object to the specified timezoneDefault.

timezoneDefault

Return a non‐modifiable reference to the timezone default attribute of this object.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two RecordFormatterOptions objects do not have the same value if their timezoneDefault attributes do not have the same value.

operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two RecordFormatterOptions objects have the same value if their timezoneDefault attributes have the same value.

Created with MrDocs