bRenderer
Download
Tutorial
Guides
bRenderer
Download
Tutorial
Guides
Basic Renderer
Main Page
Namespaces
Classes
Files
File List
File Members
bRenderer
headers
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
{
12
LM_INFO
,
13
LM_WARNING
,
14
LM_ERROR
,
15
LM_SYS
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) */
bRenderer::LM_ERROR
Definition:
Logger.h:14
bRenderer
Definition:
Configuration.h:8
bRenderer::LM_SYS
Definition:
Logger.h:15
bRenderer::LM_INFO
Definition:
Logger.h:12
bRenderer::LogMode
LogMode
Definition:
Logger.h:10
bRenderer::log
void log(const std::string &msg, LogMode mode=LM_INFO)
Write a string to the console.
Definition:
Logger.cpp:23
Renderer_GL.h
bRenderer::LM_WARNING
Definition:
Logger.h:13