Last change
on this file since 1187 was 1073, checked in by s10k, 7 years ago |
added XML Tools latest version (2.0d) and s10k's common libs
|
File size:
336 bytes
|
Rev | Line | |
---|
[1073] | 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.