Simple formatter class.
More...
#include <SimpleFormatter.h>
◆ SimpleFormatter()
Default constructor
- Parameters
-
text_pattern | Format string, default is RECORD_DEFAULT_TEXT_PATTERN |
- See also
- RECORD_DEFAULT_TEXT_PATTERN
* % Escape symbol
* li Line number
* lv Log level
* fn File name
* th Thread ID
* tn Thread name
* c Complete time
* m Content
*
- Parameters
-
time_pattern | Time format string |
◆ dump()
std::string sese::record::SimpleFormatter::dump |
( |
const Event::Ptr & | event | ) |
|
|
overridevirtualnoexcept |
◆ getTextPattern()
const char * sese::record::SimpleFormatter::getTextPattern |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getTimePattern()
const char * sese::record::SimpleFormatter::getTimePattern |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ textPattern
std::string sese::record::SimpleFormatter::textPattern |
|
private |
◆ timePattern
std::string sese::record::SimpleFormatter::timePattern |
|
private |
The documentation for this class was generated from the following files: