Some fixes for logging, added MIJIN_LOG_IF and the DebugOutputLogSink.

This commit is contained in:
Patrick Wuttke
2025-08-30 00:29:16 +02:00
parent b44d6feb97
commit e704c082b7
4 changed files with 80 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ public:
private:
int mMinStderrLevel = MIJIN_LOG_LEVEL_VALUE_WARNING;
public:
explicit BaseStdioSink(not_null_t<formatter_ptr_t> formatter, allocator_t allocator = {})
explicit BaseStdioSink(formatter_ptr_t formatter, allocator_t allocator = {})
MIJIN_NOEXCEPT_IF(std::is_nothrow_move_constructible_v<allocator_t>)
: base_t(std::move(formatter), std::move(allocator)) {}