Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::LogType Class Reference

#include <duckdb.hpp>

Inheritance diagram for duckdb::LogType:
Collaboration diagram for duckdb::LogType:

Public Member Functions

 LogType (const string &name_p, const LogLevel &level_p)
 Construct an unstructured type.
 
 LogType (const string &name_p, const LogLevel &level_p, LogicalType structured_type)
 Construct a structured type.
 

Public Attributes

string name
 
LogLevel level
 
bool is_structured
 
LogicalType type
 

Detailed Description

Log types provide some structure to the formats that the different log messages can have For now, this holds a type that the VARCHAR value will be auto-cast into.

Constructor & Destructor Documentation

◆ LogType() [1/2]

duckdb::LogType::LogType ( const string &  name_p,
const LogLevel &  level_p 
)
inline

Construct an unstructured type.

39082 : name(name_p), level(level_p), is_structured(false), type(LogicalType::VARCHAR) {
39083 }

◆ LogType() [2/2]

duckdb::LogType::LogType ( const string &  name_p,
const LogLevel &  level_p,
LogicalType  structured_type 
)
inline

Construct a structured type.

39086 : name(name_p), level(level_p), is_structured(true), type(std::move(structured_type)) {
39087 if (!type.IsNested()) {
39088 throw InternalException("LogType must be nested if the type is explicitly set");
39089 }
39090 }

The documentation for this class was generated from the following file: