Logger.h
Go to the documentation of this file.
1 #ifndef B_LOGGER_H
2 #define B_LOGGER_H
3 
4 #include "Renderer_GL.h"
5 #include <iostream>
6 #include <string>
7 
8 namespace bRenderer
9 {
10  enum LogMode
11  {
16  };
17 
22  void log(const std::string &msg, LogMode mode = LM_INFO);
23 
28  void log(const GLubyte *arg, LogMode mode = LM_INFO);
29 
35  void log(const std::string &msg, const GLubyte *arg, LogMode mode = LM_INFO);
36 
37 } // namespace bRenderer
38 
39 #endif /* defined(B_LOGGER_H) */
Definition: Logger.h:14
Definition: Configuration.h:8
Definition: Logger.h:15
Definition: Logger.h:12
LogMode
Definition: Logger.h:10
void log(const std::string &msg, LogMode mode=LM_INFO)
Write a string to the console.
Definition: Logger.cpp:23
Definition: Logger.h:13