Skip to content

Commit 84ab0ce

Browse files
committed
feat(config): add built-in runtime logger factory
Instantiate materialized file, memory, OTLP, and Prometheus plans through typed runtime bindings. Keep parsing and default materialization outside the factory and cover optional backend paths in the configuration contract test.
1 parent 89de9dd commit 84ab0ce

4 files changed

Lines changed: 549 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ All notable changes to this project will be documented in this file.
1919
- Added a binding/resolution and atomic caller-visible publication contract for
2020
materialized runtime logger plans; factory side effects are not transactional,
2121
and parser frontends and hot reload remain outside this layer.
22+
- Added a built-in runtime factory that converts materialized file, memory,
23+
OTLP, and Prometheus plans into logger instances using typed bindings.
2224

2325
### Fixed
2426

‎include/logit_cpp/logit.hpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "logit/formatter.hpp"
1818
#include "logit/loggers.hpp"
1919
#include "logit/configuration_runtime.hpp"
20+
#include "logit/configuration_runtime_builtins.hpp"
2021
#include "logit/Logger.hpp"
2122
#include "logit/log_macros.hpp"
2223

0 commit comments

Comments
 (0)