ALib C++ Library
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::lox::textlogger::FormatTimeDiff Struct Reference

Description:

Definition of the formats of time differences for class textlogger::TextLogger and its derivates. This struct is used to define an external configuration variable named ALOX/LOGGERNAME/FORMAT_TIME_DIFF. This variable can be accessed programatically with TextLogger::GetFormatTimeDiff or by accessing the variable's value through the configuration object found in camp singleton alib::ALOX.

Definition at line 144 of file variables.inl.

Collaboration diagram for alib::lox::textlogger::FormatTimeDiff:
[legend]

Public Field Index:

AStringPA Days
 Format for time difference outputs of more than a day.
 
AStringPA Hours
 Format for time difference outputs between 1h and 24h.
 
AStringPA Micros
 Entity microseconds for time difference outputs below 1000 microseconds.
 
AStringPA Millis
 Entity milliseconds for time difference outputs below 1000 milliseconds.
 
int64_t Minimum
 Minimum time difference to log in nanoseconds. Below that None is written.
 
AStringPA Mins
 Format for time difference outputs between 100s and 60 min.
 
AStringPA Nanos
 Entity nanoseconds for time difference outputs below 1000 microsecond.
 
AStringPA None
 Output for time difference if below reasonable (measurable) minimum defined in Minimum.
 
AStringPA Secs
 Format for time difference outputs between 10s and 99.9s.
 

Public Method Index:

 FormatTimeDiff (PoolAllocator &pool)
 

Field Details:

◆ Days

AStringPA alib::lox::textlogger::FormatTimeDiff::Days

Format for time difference outputs of more than a day.

Definition at line 171 of file variables.inl.

◆ Hours

AStringPA alib::lox::textlogger::FormatTimeDiff::Hours

Format for time difference outputs between 1h and 24h.

Definition at line 168 of file variables.inl.

◆ Micros

AStringPA alib::lox::textlogger::FormatTimeDiff::Micros

Entity microseconds for time difference outputs below 1000 microseconds.

Definition at line 156 of file variables.inl.

◆ Millis

AStringPA alib::lox::textlogger::FormatTimeDiff::Millis

Entity milliseconds for time difference outputs below 1000 milliseconds.

Definition at line 159 of file variables.inl.

◆ Minimum

int64_t alib::lox::textlogger::FormatTimeDiff::Minimum

Minimum time difference to log in nanoseconds. Below that None is written.

Definition at line 147 of file variables.inl.

◆ Mins

AStringPA alib::lox::textlogger::FormatTimeDiff::Mins

Format for time difference outputs between 100s and 60 min.

Definition at line 165 of file variables.inl.

◆ Nanos

AStringPA alib::lox::textlogger::FormatTimeDiff::Nanos

Entity nanoseconds for time difference outputs below 1000 microsecond.

Definition at line 153 of file variables.inl.

◆ None

AStringPA alib::lox::textlogger::FormatTimeDiff::None

Output for time difference if below reasonable (measurable) minimum defined in Minimum.

Definition at line 150 of file variables.inl.

◆ Secs

AStringPA alib::lox::textlogger::FormatTimeDiff::Secs

Format for time difference outputs between 10s and 99.9s.

Definition at line 162 of file variables.inl.

Constructor(s) / Destructor Details:

◆ FormatTimeDiff()

alib::lox::textlogger::FormatTimeDiff::FormatTimeDiff ( PoolAllocator & pool)
inline

Constructor taking an object pool which is passed to each string member.

Parameters
poolThe pool object of the Configuration.

Definition at line 175 of file variables.inl.


The documentation for this struct was generated from the following file: