source: cpp/frams/loggers/loggertostdout.h @ 382

Last change on this file since 382 was 382, checked in by sz, 9 years ago

Moving frams/virtfile to common/virtfile:

  • file references updated (includes, makefile)
  • common/virtfile can no longer use the Framsticks specific SString (using std::string instead)
  • Property svn:eol-style set to native
File size: 530 bytes
RevLine 
[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
[375]5#ifndef _STDOUT_LOGGER_H_
6#define _STDOUT_LOGGER_H_
[109]7
[375]8#include "loggers.h"
[382]9#include <common/virtfile/virtfile.h>
[109]10
[375]11class LoggerToStdout : public LoggerBase
[109]12{
[336]13        VirtFILE *file;
14public:
[375]15        LoggerToStdout(int opts = 0, VirtFILE *_file = NULL) :LoggerBase(opts), file(_file) {}
[378]16        void handle(const char *obj, const char *method, int level, const char *msg);
[109]17};
18
19#endif
Note: See TracBrowser for help on using the repository browser.