Changeset 375 for cpp/frams/loggers/loggertostdout.h
- Timestamp:
- 04/26/15 00:59:09 (10 years ago)
- Location:
- cpp/frams/loggers
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/loggers/loggertostdout.h
r374 r375 3 3 // See LICENSE.txt for details. 4 4 5 #ifndef _STDOUT HANDLER_H_6 #define _STDOUT HANDLER_H_5 #ifndef _STDOUT_LOGGER_H_ 6 #define _STDOUT_LOGGER_H_ 7 7 8 #include " mhandlers.h"8 #include "loggers.h" 9 9 #include <frams/virtfile/virtfile.h> 10 10 11 class MessageHandlerToStdout : public MessageHandlerBase11 class LoggerToStdout : public LoggerBase 12 12 { 13 13 VirtFILE *file; 14 14 public: 15 MessageHandlerToStdout(int opts = 0, VirtFILE *_file = NULL) :MessageHandlerBase(opts), file(_file) {}16 void handle(const char *o, const char *m, const char *bl, int w);15 LoggerToStdout(int opts = 0, VirtFILE *_file = NULL) :LoggerBase(opts), file(_file) {} 16 void handle(const char *o, const char *m, int w, const char *bl); 17 17 }; 18 18
Note: See TracChangeset
for help on using the changeset viewer.