Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Macros | Functions
Log.hpp File Reference
#include <vlCore/String.hpp>
#include <vlCore/IMutex.hpp>
#include <fstream>

Go to the source code of this file.

Classes

class  vl::Log
 Utility class to generate logs. More...
 
class  vl::StandardLog
 The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file. More...
 

Namespaces

 vl
 Visualization Library main namespace.
 

Macros

#define VL_LOG   (*::vl::defLogger())
 
#define VL_LOG_NOTIFY   (VL_LOG << ::vl::LL_LogNotify)
 
#define VL_LOG_PRINT   (VL_LOG << ::vl::LL_LogPrint)
 
#define VL_LOG_BUG   (VL_LOG << ::vl::LL_LogBug)
 
#define VL_LOG_ERROR   (VL_LOG << ::vl::LL_LogError)
 
#define VL_LOG_WARNING   (VL_LOG << ::vl::LL_LogWarning)
 
#define VL_LOG_DEBUG   (VL_LOG << ::vl::LL_LogDebug)
 

Functions

VLCORE_EXPORT void vl::setDefLogger (Log *logger)
 Installs the default logger used by Visualization Library. Setting this to NULL will disable logging. More...
 
VLCORE_EXPORT Logvl::defLogger ()
 Returns the currently installed default logger. More...
 

Macro Definition Documentation

◆ VL_LOG

#define VL_LOG   (*::vl::defLogger())

Definition at line 216 of file Log.hpp.

◆ VL_LOG_BUG

#define VL_LOG_BUG   (VL_LOG << ::vl::LL_LogBug)

Definition at line 219 of file Log.hpp.

◆ VL_LOG_DEBUG

#define VL_LOG_DEBUG   (VL_LOG << ::vl::LL_LogDebug)

◆ VL_LOG_ERROR

#define VL_LOG_ERROR   (VL_LOG << ::vl::LL_LogError)

Definition at line 220 of file Log.hpp.

Referenced by vl::log_failed_check().

◆ VL_LOG_NOTIFY

#define VL_LOG_NOTIFY   (VL_LOG << ::vl::LL_LogNotify)

Definition at line 217 of file Log.hpp.

◆ VL_LOG_PRINT

#define VL_LOG_PRINT   (VL_LOG << ::vl::LL_LogPrint)

Definition at line 218 of file Log.hpp.

◆ VL_LOG_WARNING

#define VL_LOG_WARNING   (VL_LOG << ::vl::LL_LogWarning)

Definition at line 221 of file Log.hpp.