6#include "../datatypes/utf8.hpp"
7#include "../result.hpp"
57 const char* c_str()
const {
67 value = std::move(value_);
71 TextLogLevel(std::string value_) : value(std::move(value_)) {}
74 value = std::move(value_);
91 struct Loggable<components::TextLogLevel> {
92 static constexpr const char Name[] =
"rerun.components.TextLogLevel";
95 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
99 arrow::StringBuilder* builder,
const components::TextLogLevel* elements,
104 static Result<std::shared_ptr<arrow::Array>> to_arrow(
105 const components::TextLogLevel* instances,
size_t num_instances
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:87
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:69
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
Component: The severity level of a text log message.
Definition text_log_level.hpp:30
static const TextLogLevel Info
Designates useful information.
Definition text_log_level.hpp:46
static const TextLogLevel Debug
Designates lower priority information.
Definition text_log_level.hpp:49
static const TextLogLevel Warning
Designates hazardous situations.
Definition text_log_level.hpp:43
TextLogLevel(const char *str)
Construct TextLogLevel from a null-terminated UTF8 string.
Definition text_log_level.hpp:55
static const TextLogLevel Trace
Designates very low priority, often extremely verbose, information.
Definition text_log_level.hpp:52
static const TextLogLevel Critical
Designates catastrophic failures.
Definition text_log_level.hpp:37
static const TextLogLevel Error
Designates very serious errors.
Definition text_log_level.hpp:40
Datatype: A string of text, encoded as UTF-8.
Definition utf8.hpp:21