123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #pragma once
- #include "IReferenceCounted.h"
- namespace irr
- {
- enum ELOG_LEVEL
- {
-
- ELL_DEBUG,
-
- ELL_INFORMATION,
-
- ELL_WARNING,
-
- ELL_ERROR,
-
-
- ELL_NONE
- };
- class ILogger : public virtual IReferenceCounted
- {
- public:
-
- virtual ~ILogger() {}
-
- virtual ELOG_LEVEL getLogLevel() const = 0;
-
-
- virtual void setLogLevel(ELOG_LEVEL ll) = 0;
-
-
- virtual void log(const c8 *text, ELOG_LEVEL ll = ELL_INFORMATION) = 0;
-
-
- virtual void log(const c8 *text, const c8 *hint, ELOG_LEVEL ll = ELL_INFORMATION) = 0;
- };
- }
|