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

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

#include "WinPreConfig.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