Visualization Library v1.0.3

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

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Defines | Functions

/home/master/UCL/VisualizationLibrary/src/vlCore/Log.hpp File Reference

#include <vlCore/String.hpp>
#include <vlCore/IMutex.hpp>
#include <fstream>

Go to the source code of this file.


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...


namespace  vl

Visualization Library namespace.


#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)


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

Define Documentation

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

Definition at line 219 of file Log.hpp.

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

Definition at line 220 of file Log.hpp.

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

Definition at line 221 of file Log.hpp.

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

Definition at line 222 of file Log.hpp.

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

Definition at line 223 of file Log.hpp.

Referenced by vl::log_failed_check().

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

Definition at line 224 of file Log.hpp.

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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:04.
Permission is granted to use this page to write and publish articles regarding Visualization Library.