Yet Another Game Engine
|
-*- c++ -*- More...
#include "../util/active.h"
#include <memory>
#include <sstream>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | yage::LogMessage |
struct | yage::LogMessage::Meta |
class | yage::LogSink |
class | yage::Logger |
Namespaces | |
yage | |
Project namespace. | |
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__)) |
Enumerations | |
enum | yage::LogLevel { yage::LogLevel::DEBUG, yage::LogLevel::INFO, yage::LogLevel::WARNING, yage::LogLevel::ERROR, yage::LogLevel::FATAL } |
Different log levels that can be assigned to each message sent to the Logger. More... | |
Functions | |
LogSink | yage::makeConsoleSink () |
LogSink | yage::makeFileSink (std::string const &filename) |
LogSink | yage::makeFileSink (std::string &&filename) |
-*- c++ -*-
Copyright (c) 2017 Yann Herklotz Grave ymher klot z@gma il.c om
#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__)) |