Last change
on this file since 351 was
336,
checked in by Maciej Komosinski, 10 years ago
|
Error message formatting: - "[x] x::x - " -> "[x] x.x: "
Error managers support configurable multi-line "call stack" messages
|
-
Property svn:eol-style set to
native
|
File size:
558 bytes
|
Rev | Line | |
---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
| 2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. |
---|
| 3 | // See LICENSE.txt for details. |
---|
[109] | 4 | |
---|
| 5 | #ifndef _STDOUTERRORHANDLER_H_ |
---|
| 6 | #define _STDOUTERRORHANDLER_H_ |
---|
| 7 | |
---|
| 8 | #include "errmanager.h" |
---|
| 9 | #include <frams/virtfile/virtfile.h> |
---|
| 10 | |
---|
[336] | 11 | class StdoutErrorHandler : public ErrorHandlerBase |
---|
[109] | 12 | { |
---|
[336] | 13 | VirtFILE *file; |
---|
| 14 | public: |
---|
| 15 | StdoutErrorHandler(int opts = DontBlock, VirtFILE *_file = NULL) :ErrorHandlerBase(opts), file(_file) {} |
---|
| 16 | void handle(const char *o, const char *m, const char *bl, int w); |
---|
[109] | 17 | }; |
---|
| 18 | |
---|
| 19 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.