| Revision: | 1073 |
| Committed: | Thu Oct 5 17:48:32 2017 UTC (8 years ago) by s10k |
| Content type: | text/x-chdr |
| File size: | 336 byte(s) |
| Log Message: | added XML Tools latest version (2.0d) and s10k's common libs |
| # | Content |
|---|---|
| 1 | #pragma once |
| 2 | #include <plog/Appenders/IAppender.h> |
| 3 | #include <plog/WinApi.h> |
| 4 | |
| 5 | namespace plog |
| 6 | { |
| 7 | template<class Formatter> |
| 8 | class DebugOutputAppender : public IAppender |
| 9 | { |
| 10 | public: |
| 11 | virtual void write(const Record& record) |
| 12 | { |
| 13 | OutputDebugStringW(Formatter::format(record).c_str()); |
| 14 | } |
| 15 | }; |
| 16 | } |