Rerun C++ SDK
|
Archetype: A log entry in a text log, comprised of a text body and its log level. More...
#include <rerun/archetypes/text_log.hpp>
Public Types | |
using | IndicatorComponent = components::IndicatorComponent< IndicatorComponentName > |
Indicator component, used to identify the archetype when converting to a list of components. | |
Public Member Functions | |
TextLog (TextLog &&other)=default | |
TextLog (rerun::components::Text _text) | |
TextLog | with_level (rerun::components::TextLogLevel _level) && |
The verbosity level of the message. | |
TextLog | with_color (rerun::components::Color _color) && |
Optional color to use for the log line in the Rerun Viewer. | |
size_t | num_instances () const |
Returns the number of primary instances of this archetype. | |
Public Attributes | |
rerun::components::Text | text |
The body of the message. | |
std::optional< rerun::components::TextLogLevel > | level |
The verbosity level of the message. | |
std::optional< rerun::components::Color > | color |
Optional color to use for the log line in the Rerun Viewer. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] = "rerun.components.TextLogIndicator" |
Archetype: A log entry in a text log, comprised of a text body and its log level.
|
inline |
The verbosity level of the message.
This can be used to filter the log messages in the Rerun Viewer.
std::optional<rerun::components::TextLogLevel> rerun::archetypes::TextLog::level |
The verbosity level of the message.
This can be used to filter the log messages in the Rerun Viewer.