YAGE  v0.1.4.0
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
logger.h File Reference


More...

#include <memory>
#include <string>
#include <vector>
#include "../util/active.h"
#include "loglevel.h"
#include "logmessage.h"
#include "logsink.h"

Go to the source code of this file.

Classes

class  yage::Logger
 

Namespaces

 yage
 Core includes.
 

Macros

#define yLogger   (yage::Logger::instance())
 
#define yLogDebug   (yage::Logger::instance()(yage::LogLevel::DEBUG, __FILE__, __LINE__))
 
#define yLogInfo   (yage::Logger::instance()(yage::LogLevel::INFO, __FILE__, __LINE__))
 
#define yLogWarning   (yage::Logger::instance()(yage::LogLevel::WARNING, __FILE__, __LINE__))
 
#define yLogError   (yage::Logger::instance()(yage::LogLevel::ERROR, __FILE__, __LINE__))
 
#define yLogFatal   (yage::Logger::instance()(yage::LogLevel::FATAL, __FILE__, __LINE__))
 

Detailed Description


Copyright (c) 2017 Yann Herklotz Grave ymher.nosp@m.klot.nosp@m.z@gma.nosp@m.il.c.nosp@m.om

MIT License, see LICENSE file for more details.

Macro Definition Documentation

#define yLogDebug   (yage::Logger::instance()(yage::LogLevel::DEBUG, __FILE__, __LINE__))
#define yLogError   (yage::Logger::instance()(yage::LogLevel::ERROR, __FILE__, __LINE__))
#define yLogFatal   (yage::Logger::instance()(yage::LogLevel::FATAL, __FILE__, __LINE__))
#define yLogger   (yage::Logger::instance())
#define yLogInfo   (yage::Logger::instance()(yage::LogLevel::INFO, __FILE__, __LINE__))
#define yLogWarning   (yage::Logger::instance()(yage::LogLevel::WARNING, __FILE__, __LINE__))