Field3D
Log.h File Reference

Contains the Log class which can be used to redirect output to an arbitrary destination. More...

#include <boost/lexical_cast.hpp>
#include "ns.h"

Go to the source code of this file.

Namespaces

 Msg
 Contains logging-related functions.
 

Enumerations

enum  Msg::Severity { Msg::SevMessage, Msg::SevWarning }
 Used by the Msg::print() call. More...
 

Functions

FIELD3D_API void Msg::print (Severity severity, const std::string &message)
 Sends the string to the assigned output, prefixing the message with the severity. More...
 
void Msg::print (const std::string &message)
 Sends the string to the assigned output. More...
 
FIELD3D_API void Msg::setVerbosity (int level=1)
 Set the verbosity level of console output: 0 = do not echo anything to the console; >=1 = echo all messages and warnings to the console. More...
 

Detailed Description

Contains the Log class which can be used to redirect output to an arbitrary destination.

Definition in file Log.h.