added logging module and a sandbox project
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user