GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Logger.hpp
Go to the documentation of this file.
1 #ifndef RADIX_LOGGER_HPP
2 #define RADIX_LOGGER_HPP
3 
4 #include <string>
5 
6 namespace radix {
7 
8 enum LogLevel {
15 };
16 
20 class Logger {
21 public:
25  virtual const char* getName() const = 0;
26 
34  virtual void log(const std::string &message, LogLevel lvl, const std::string &tag) = 0;
35 };
36 
37 } /* namespace radix */
38 
39 #endif /* RADIX_LOGGER_HPP */
virtual void log(const std::string &message, LogLevel lvl, const std::string &tag)=0
Log a message.
Definition: GameController.hpp:7
Definition: Logger.hpp:12
Definition: Logger.hpp:10
Base class to create log sinks.
Definition: Logger.hpp:20
Definition: Logger.hpp:14
Definition: Logger.hpp:9
Definition: Logger.hpp:11
Definition: Logger.hpp:13
virtual const char * getName() const =0
Returns the name of the Logger instance.
Definition: Logger.cpp:5
LogLevel
Definition: Logger.hpp:8