SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
CustomLog.h
Go to the documentation of this file.
1
/**
2
* \file CustomLog.h
3
* \authors Michael Goettlicher
4
* \date March 2018
5
* \copyright http://opensource.org/licenses/GPL-3.0
6
* \remarks Please use clangformat to format the code. See more code style on
7
* https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style
8
*/
9
10
#ifndef UTILS_CUSTOMLOG_H
11
#define UTILS_CUSTOMLOG_H
12
13
#include <memory>
14
#include <string>
15
16
namespace
Utils
17
{
18
//-----------------------------------------------------------------------------
19
//! Logger interface
20
class
CustomLog
21
{
22
public
:
23
virtual
void
post
(
const
std::string& message) = 0;
24
virtual
~CustomLog
() { ; }
25
};
26
//-----------------------------------------------------------------------------
27
}
28
29
#endif
Utils::CustomLog
Logger interface.
Definition:
CustomLog.h:21
Utils::CustomLog::post
virtual void post(const std::string &message)=0
Utils::CustomLog::~CustomLog
virtual ~CustomLog()
Definition:
CustomLog.h:24
Utils
Utils provides utilities for string & file handling, logging and math functions.
Definition:
Averaged.h:22
modules
utils
source
CustomLog.h
Generated by
1.9.1