aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CLogger.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/CLogger.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h b/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h
index 314cb13..10114ff 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/CLogger.h
@@ -1,56 +1,56 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __C_LOGGER_H_INCLUDED__ 5#ifndef __C_LOGGER_H_INCLUDED__
6#define __C_LOGGER_H_INCLUDED__ 6#define __C_LOGGER_H_INCLUDED__
7 7
8#include "ILogger.h" 8#include "ILogger.h"
9#include "os.h" 9#include "os.h"
10#include "irrString.h" 10#include "irrString.h"
11#include "IEventReceiver.h" 11#include "IEventReceiver.h"
12 12
13namespace irr 13namespace irr
14{ 14{
15 15
16//! Class for logging messages, warnings and errors to stdout 16//! Class for logging messages, warnings and errors to stdout
17class CLogger : public ILogger 17class CLogger : public ILogger
18{ 18{
19public: 19public:
20 20
21 CLogger(IEventReceiver* r); 21 CLogger(IEventReceiver* r);
22 22
23 //! Returns the current set log level. 23 //! Returns the current set log level.
24 virtual ELOG_LEVEL getLogLevel() const; 24 virtual ELOG_LEVEL getLogLevel() const;
25 25
26 //! Sets a new log level. virtual void setLogLevel(ELOG_LEVEL ll); 26 //! Sets a new log level. virtual void setLogLevel(ELOG_LEVEL ll);
27 virtual void setLogLevel(ELOG_LEVEL ll); 27 virtual void setLogLevel(ELOG_LEVEL ll);
28 28
29 //! Prints out a text into the log 29 //! Prints out a text into the log
30 virtual void log(const c8* text, ELOG_LEVEL ll=ELL_INFORMATION); 30 virtual void log(const c8* text, ELOG_LEVEL ll=ELL_INFORMATION);
31 31
32 //! Prints out a text into the log 32 //! Prints out a text into the log
33 virtual void log(const wchar_t* text, ELOG_LEVEL ll=ELL_INFORMATION); 33 virtual void log(const wchar_t* text, ELOG_LEVEL ll=ELL_INFORMATION);
34 34
35 //! Prints out a text into the log 35 //! Prints out a text into the log
36 virtual void log(const c8* text, const c8* hint, ELOG_LEVEL ll=ELL_INFORMATION); 36 virtual void log(const c8* text, const c8* hint, ELOG_LEVEL ll=ELL_INFORMATION);
37 37
38 //! Prints out a text into the log 38 //! Prints out a text into the log
39 virtual void log(const c8* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); 39 virtual void log(const c8* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION);
40 40
41 //! Prints out a text into the log 41 //! Prints out a text into the log
42 virtual void log(const wchar_t* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION); 42 virtual void log(const wchar_t* text, const wchar_t* hint, ELOG_LEVEL ll=ELL_INFORMATION);
43 43
44 //! Sets a new event receiver 44 //! Sets a new event receiver
45 void setReceiver(IEventReceiver* r); 45 void setReceiver(IEventReceiver* r);
46 46
47private: 47private:
48 48
49 ELOG_LEVEL LogLevel; 49 ELOG_LEVEL LogLevel;
50 IEventReceiver* Receiver; 50 IEventReceiver* Receiver;
51}; 51};
52 52
53} // end namespace 53} // end namespace
54 54
55#endif 55#endif
56 56