Represents log format containing flags and date format. This is used internally to start initial log. More...
#include <easylogging++.h>

Public Member Functions | |
| const std::string & | dateTimeFormat (void) const |
| base::type::EnumType | flags (void) const |
| const base::type::string_t & | format (void) const |
| bool | hasFlag (base::FormatFlags flag) const |
| Level | level (void) const |
| virtual void | log (el::base::type::ostream_t &os) const |
| LogFormat (void) | |
| LogFormat (Level level, const base::type::string_t &format) | |
| LogFormat (const LogFormat &logFormat) | |
| LogFormat (LogFormat &&logFormat) | |
| LogFormat & | operator= (const LogFormat &logFormat) |
| bool | operator== (const LogFormat &other) |
| void | parseFromFormat (const base::type::string_t &userFormat) |
| Updates format to be used while logging. More... | |
| const base::type::string_t & | userFormat (void) const |
| virtual | ~LogFormat (void) |
Public Member Functions inherited from el::Loggable | |
| virtual | ~Loggable (void) |
Protected Member Functions | |
| void | addFlag (base::FormatFlags flag) |
| virtual void | updateDateFormat (std::size_t index, base::type::string_t &currFormat) ELPP_FINAL |
| Updates date time format if available in currFormat. More... | |
| virtual void | updateFormatSpec (void) ELPP_FINAL |
| Updates level from format. This is so that we dont have to do it at log-writing-time. It uses m_format and m_level. More... | |
Friends | |
| class | el::Logger |
Represents log format containing flags and date format. This is used internally to start initial log.
Definition at line 1568 of file easylogging++.h.
| el::base::LogFormat::LogFormat | ( | void | ) |
Definition at line 1451 of file easylogging++.cc.
| el::base::LogFormat::LogFormat | ( | Level | level, |
| const base::type::string_t & | format | ||
| ) |
Definition at line 1461 of file easylogging++.cc.
| el::base::LogFormat::LogFormat | ( | const LogFormat & | logFormat | ) |
Definition at line 1467 of file easylogging++.cc.
| el::base::LogFormat::LogFormat | ( | LogFormat && | logFormat | ) |
Definition at line 1477 of file easylogging++.cc.
|
inlinevirtual |
Definition at line 1575 of file easylogging++.h.
|
inlineprotected |
Definition at line 1619 of file easylogging++.h.
|
inline |
Definition at line 1594 of file easylogging++.h.
|
inline |
Definition at line 1598 of file easylogging++.h.
|
inline |
Definition at line 1590 of file easylogging++.h.
|
inline |
Definition at line 1602 of file easylogging++.h.
Definition at line 1582 of file easylogging++.h.
|
inlinevirtual |
Implements el::Loggable.
Definition at line 1606 of file easylogging++.h.
Definition at line 1487 of file easylogging++.cc.
| bool el::base::LogFormat::operator== | ( | const LogFormat & | other | ) |
Definition at line 1499 of file easylogging++.cc.
| void el::base::LogFormat::parseFromFormat | ( | const base::type::string_t & | userFormat | ) |
Updates format to be used while logging.
| userFormat | User provided format |
Definition at line 1506 of file easylogging++.cc.
|
protectedvirtual |
Updates date time format if available in currFormat.
| index | Index where datetime, date or time was found | |
| [in,out] | currFormat | current format that is being used to format |
Definition at line 1556 of file easylogging++.cc.
Updates level from format. This is so that we dont have to do it at log-writing-time. It uses m_format and m_level.
Definition at line 1583 of file easylogging++.cc.
|
inline |
Definition at line 1586 of file easylogging++.h.
|
friend |
Definition at line 1631 of file easylogging++.h.
|
private |
Definition at line 1630 of file easylogging++.h.
|
private |
Definition at line 1629 of file easylogging++.h.
|
private |
Definition at line 1627 of file easylogging++.h.
|
private |
Definition at line 1628 of file easylogging++.h.
|
private |
Definition at line 1626 of file easylogging++.h.
|
private |
Definition at line 1624 of file easylogging++.h.
|
private |
Definition at line 1625 of file easylogging++.h.