15 std::ostream* log_stream) {
16 using namespace Logging;
17 auto output = std::make_unique<LevelOutputDecorator>(
18 std::make_unique<NamedOutputDecorator>(
19 std::make_unique<TimedOutputDecorator>(
20 std::make_unique<DefaultPrintPolicy>(log_stream)),
22 auto print = std::make_unique<DefaultFilterPolicy>(lvl);
23 return std::make_unique<const Logger>(std::move(output), std::move(
print));