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]
Public Member Functions | Protected Member Functions | Protected Attributes

vl::StandardLog Class Reference

The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file. More...

#include <Log.hpp>

Inheritance diagram for vl::StandardLog:
vl::Log vl::Object

List of all members.

Public Member Functions

void setLogFile (const String &file)
const StringlogFile () const

Protected Member Functions

virtual void printImplementation (ELogLevel level, const String &message)

Protected Attributes

String mLogFile
std::ofstream mFile

Detailed Description

The StandardLog class outputs the log messages on the stdout device and optionally also on a specified file.

Definition at line 231 of file Log.hpp.


Member Function Documentation

void StandardLog::setLogFile ( const String file )

Definition at line 267 of file Log.cpp.

References vl::String::empty(), mFile, mLogFile, and vl::String::toStdString().

const String& vl::StandardLog::logFile (  ) const [inline]

Definition at line 237 of file Log.hpp.

void StandardLog::printImplementation ( ELogLevel  level,
const String message 
) [protected, virtual]

Implements vl::Log.

Definition at line 278 of file Log.cpp.

References vl::String::empty(), mFile, and vl::String::toStdString().


Member Data Documentation

Definition at line 241 of file Log.hpp.

Referenced by setLogFile().

std::ofstream vl::StandardLog::mFile [protected]

Definition at line 242 of file Log.hpp.

Referenced by printImplementation(), and setLogFile().


The documentation for this class was generated from the following files:

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