added logging module and a sandbox project

This commit is contained in:
Sascha Kühl
2025-07-03 16:13:58 +02:00
parent c4a00f19fd
commit 20d6a77275
29 changed files with 2287 additions and 25 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ utils::error make_error(const error_code ec, const std::string &msg) {
schema::schema(std::string name)
: name_(std::move(name))
, root_(schema_node::make_null_node(*this)) {
, root_(schema_node::make_null_node(*this))
, log_(logger::create_logger("schema")) {
root_->first_child_ = std::shared_ptr<schema_node>(new schema_node(*this));
root_->last_child_ = std::shared_ptr<schema_node>(new schema_node(*this));
root_->first_child_->next_sibling_ = root_->last_child_;