baselogging.h
Go to the documentation of this file.
#pragma once
#include <globjects/globjects_api.h>
#include <globjects/base/LogMessage.h>
#include <globjects/base/LogMessageBuilder.h>
namespace globjects
{
class AbstractLogHandler;
GLOBJECTS_API LogMessageBuilder info(LogMessageLevel level = LogMessageLevel::Info);
GLOBJECTS_API LogMessageBuilder debug();
GLOBJECTS_API LogMessageBuilder warning();
GLOBJECTS_API LogMessageBuilder critical();
GLOBJECTS_API LogMessageBuilder fatal();
GLOBJECTS_API void setLoggingHandler(AbstractLogHandler * handler);
GLOBJECTS_API AbstractLogHandler * loggingHandler();
GLOBJECTS_API void setVerbosityLevel(LogMessageLevel verbosity);
GLOBJECTS_API LogMessageLevel verbosityLevel();
template <typename... Arguments>
void info(const char* format, Arguments... arguments);
template <typename... Arguments>
void debug(const char* format, Arguments... arguments);
template <typename... Arguments>
void warning(const char* format, Arguments... arguments);
template <typename... Arguments>
void critical(const char* format, Arguments... arguments);
template <typename... Arguments>
void fatal(const char* format, Arguments... arguments);
} // namespace globjects
#include <globjects/base/baselogging.inl>
globjects::debug
GLOBJECTS_API LogMessageBuilder debug()
globjects::verbosityLevel
GLOBJECTS_API LogMessageLevel verbosityLevel()
globjects::setLoggingHandler
GLOBJECTS_API void setLoggingHandler(AbstractLogHandler *handler)
globjects::warning
GLOBJECTS_API LogMessageBuilder warning()
globjects::fatal
GLOBJECTS_API LogMessageBuilder fatal()
LogMessage.h
globjects
Contains all the classes that wrap OpenGL functionality.
globjects::info
GLOBJECTS_API LogMessageBuilder info(LogMessageLevel level=LogMessageLevel::Info)
globjects::critical
GLOBJECTS_API LogMessageBuilder critical()
globjects::LogMessageLevel
LogMessageLevel
Definition: LogMessageLevel.h:9
globjects::setVerbosityLevel
GLOBJECTS_API void setVerbosityLevel(LogMessageLevel verbosity)
LogMessageBuilder.h
globjects::LogMessageLevel::Info
@ Info
globjects::loggingHandler
GLOBJECTS_API AbstractLogHandler * loggingHandler()