configuration with builder:
auto result = logger_builder()
.with_async(true)
.with_buffer_size(16384)
.with_min_level(log_level::debug)
.with_metrics(true)
.add_writer("console", std::make_unique<console_writer>())
.add_writer("file", std::make_unique<file_writer>("logs/app.log"))
.build();
if (result) {
auto logger = std::move(result.value());
}