Represents log entry name.
Definition at line 169 of file logger.h.
#include <logger.h>
◆ LogEntryName() [1/4]
humoto::LogEntryName::LogEntryName |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 179 of file logger.h.
◆ LogEntryName() [2/4]
humoto::LogEntryName::LogEntryName |
( |
const std::string & |
name | ) |
|
|
inline |
Constructor with name initialization.
- Parameters
-
Definition at line 189 of file logger.h.
◆ LogEntryName() [3/4]
humoto::LogEntryName::LogEntryName |
( |
const char * |
name | ) |
|
|
inline |
Constructor with name initialization.
- Parameters
-
Definition at line 199 of file logger.h.
◆ LogEntryName() [4/4]
humoto::LogEntryName::LogEntryName |
( |
const LogEntryName & |
name | ) |
|
|
inline |
Constructor with name initialization.
- Parameters
-
Definition at line 209 of file logger.h.
◆ add() [1/3]
LogEntryName& humoto::LogEntryName::add |
( |
const char * |
name | ) |
|
|
inline |
extends entry name with a subname
- Parameters
-
- Returns
- this
Definition at line 232 of file logger.h.
◆ add() [2/3]
LogEntryName& humoto::LogEntryName::add |
( |
const std::string & |
name | ) |
|
|
inline |
extends entry name with a subname
- Parameters
-
- Returns
- this
Definition at line 246 of file logger.h.
◆ add() [3/3]
LogEntryName& humoto::LogEntryName::add |
( |
const std::size_t |
index | ) |
|
|
inline |
extends entry name with a subname
- Parameters
-
- Returns
- this
Definition at line 260 of file logger.h.
◆ getAsString()
const std::string& humoto::LogEntryName::getAsString |
( |
| ) |
const |
|
inline |
Returns entry name as a string.
- Returns
- string
Definition at line 219 of file logger.h.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const LogEntryName & |
log_entry_name |
|
) |
| |
|
friend |
Writes the log entry name to a stream.
- Parameters
-
[in,out] | out | output stream |
[in] | log_entry_name | |
- Returns
- output stream
Definition at line 275 of file logger.h.
◆ entry_name_
std::string humoto::LogEntryName::entry_name_ |
|
private |
The documentation for this class was generated from the following file: