aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/win/DebugLogTarget.h
blob: 333e764f0d24a2a54cc84dfee3768d363ef5e79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#ifndef _WIN32
#error "This file can only be included on Windows."
#endif

#include "Base.h"
#include "../../log/Logger.h"

namespace cru::platform::win {
class CRU_BASE_API WinDebugLogTarget : public ::cru::log::ILogTarget {
 public:
  void Write(::cru::log::LogLevel level, std::string s) override;
};
}  // namespace cru::platform::win