Struct nebula::drivers::loggers::detail::LazyMessage
template <typename MakeMessageT>
ClassList > nebula > drivers > loggers > detail > LazyMessage
A message that is only built when converted to a string. More...
#include <logger.hpp>
Public Attributes
| Type | Name |
|---|---|
| MakeMessageT | make_message |
Public Functions
| Type | Name |
|---|---|
| string () const |
Detailed Description
Used by NEBULA_LOG_STREAM. Logging functions that take a string build the message right away through the implicit conversion. Logger::Filtered takes the LazyMessage itself and only builds the message if it is not dropped.
Public Attributes Documentation
variable make_message
MakeMessageT nebula::drivers::loggers::detail::LazyMessage< MakeMessageT >::make_message;
Public Functions Documentation
function string
inline nebula::drivers::loggers::detail::LazyMessage::string () const
The documentation for this class was generated from the following file src/nebula_core/nebula_core_common/include/nebula_core_common/loggers/logger.hpp