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

Last change on this file since 378 was 378, checked in by Maciej Komosinski, 9 years ago

Improved argument variable names; changed implementation to use STL classes (vector, string)

  • Property svn:eol-style set to native
File size: 529 bytes
Line 
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.
4
5#ifndef _STDOUT_LOGGER_H_
6#define _STDOUT_LOGGER_H_
7
8#include "loggers.h"
9#include <frams/virtfile/virtfile.h>
10
11class LoggerToStdout : public LoggerBase
12{
13        VirtFILE *file;
14public:
15        LoggerToStdout(int opts = 0, VirtFILE *_file = NULL) :LoggerBase(opts), file(_file) {}
16        void handle(const char *obj, const char *method, int level, const char *msg);
17};
18
19#endif
Note: See TracBrowser for help on using the repository browser.