#pragma once

#include "foundation/diagnostics/Logger.h"

namespace ta::adapters::windows::diagnostics
{
    class WindowsConsoleLogSink final : public ta::foundation::logger::Sink
    {
    public:
        explicit WindowsConsoleLogSink(void* output = nullptr) noexcept;
        void set_output(void* output) noexcept;
        void write(const ta::foundation::logger::Entry& entry) override;

    private:
        void* output_ = nullptr;
    };
}
