From 605f4df41f26909df3f8f2100fc92ff20026538c Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 12 Sep 2023 12:34:16 -0400 Subject: [PATCH] nestlog: missed commit log_config.hpp --- include/nestlog/log_config.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/nestlog/log_config.hpp diff --git a/include/nestlog/log_config.hpp b/include/nestlog/log_config.hpp new file mode 100644 index 00000000..9b1eff12 --- /dev/null +++ b/include/nestlog/log_config.hpp @@ -0,0 +1,22 @@ +/* @file log_config.hpp */ + +#pragma once + +#include + +namespace xo { + /* Tag here b/c we want header-only library */ + template + struct log_config_impl { + /* spaces per indent level */ + static std::uint32_t indent_width; + }; /*log_config_impl*/ + + template + std::uint32_t + log_config_impl::indent_width = 1; + + using log_config = log_config_impl; +} /*namespace xo*/ + +/* end log_config.hpp */