GCpp general purpose C++ library
version 1.0
|
#include "GGlobal.hh"
#include "GBaseFunctions.hh"
#include "GStringFunctions.hh"
#include "icc/GLogMessage.icc"
Go to the source code of this file.
Classes | |
class | GLogMessage |
Functions | |
void | GSetVerboseLevel (u_int v) |
u_int | GGetVerboseLevel () |
void | GSetLogFile (const string &fname, bool term=true) |
void | GCloseLogFile () |
void | GLogMessage (const string &text, u_int verb=0) |
void | GLogMessage (const string &text, u_int verb, u_int ref_level) |
void | GLogInfo (const string &text) |
void | GLogWarning (const string &text) |
void | GLogError (const string &text, bool abort=true) |
void | GLogMessage (ostream &os, const string &text, u_int verb=0) |
void | GLogInfo (ostream &os, const string &text) |
void | GLogWarning (ostream &os, const string &text) |
void | GLogError (ostream &os, const string &text, bool abort=true) |
void | GDebugLine (const string &text, u_int verb=0) |
void | GDebug (const string &text, u_int verb=0) |
Include file for the GLogMessage class
|
inline |
Close the log file (set output to standard outputs).
References GLogMessage::CloseLogFile().
|
inline |
Send a debugging line to the standard error stream, if GDEBUG variable is defined and its value is greater than or equal to the verb argument value.
|
inline |
Get the information verbose level.
References GLogMessage::GetVerboseLevel().
|
inline |
Send an error message (special highlighting) to the standard error stream. The program is then interrupted, except if abort is set to false. (short-cut the GLogMessage static function).
text | text to be displayed |
abort | indicates if program should crash |
References GLogMessage::SengLogError().
|
inline |
Send an error message (special highlighting) to an output stream. The program is then interrupted, except if abort is set to false. (short-cut the GLogMessage static function).
os | output stream |
text | text to be displayed |
abort | indicates if program should crash |
References GLogMessage::SengLogError().
|
inline |
Send an information message to the standard output stream. (short-cut the GLogMessage static function).
text | text to be displayed |
References GLogMessage::SendLogInfo().
|
inline |
Send an information message to an output stream. (short-cut the GLogMessage static function).
os | output stream |
text | text to be displayed |
References GLogMessage::SendLogInfo().
|
inline |
Send a message to the standard output stream, if the given verbose value is lower or equal to the run manager value. (short-cut the GLogMessage static function).
text | text to be displayed |
verb | requested verbose level to display the message |
References GLogMessage::SendLogMessage().
|
inline |
Send a message to the standard output stream, if the argument verbose value is lower or equal to the external reference verbose level ref_level. This function is for use with packages that define their own verbose level. Set the verb value to 0 to display the message in any case.
text | text to be displayed |
verb | requested verbose level to display the message |
ref_level | external reference verbose level |
References GLogMessage::SendLogMessage().
|
inline |
Send a message to an output stream, if the given verbose value is lower or equal to the run manager value. Set the verb value to display the message in any case. (short-cut the GLogMessage static function).
os | output stream |
text | text to be displayed |
verb | requested verbose level to display the message |
References GLogMessage::SendLogMessage().
|
inline |
Send a warning message (special highlighting) to the standard error stream. (short-cut the GLogMessage static function).
text | text to be displayed |
References GLogMessage::SendLogWarning().
Referenced by GExtremaFinder::Analyse(), GExtremaFinder::AnalyseMaxima(), GMatrixT< T >::CheckDimChange(), GVectorT< T >::CheckDimension(), GMatrixT< T >::CheckDimensions(), GMatrixT< T >::CheckIndex(), GVectorT< T >::CheckIndex(), GMatrixT< T >::CheckProduct(), GVectorT< T >::CheckProduct(), GRealSampleFFT::ComputeFunctionData(), GRealSampleFFT::ComputeTransformData(), GRealSampleFFT::Derivate(), GExtremaFinder::DifferentialThreshold(), GArrayInterpolationCubic(), GArrayInterpolationLinear(), GGetFileList(), GRealSampleFFT::GRealSampleFFT(), GBaseSampleFFT::InitData(), GExtremaFinder::InitData(), GRealSampleFFT::InitFunctionData(), GRealSampleFFT::Integrate(), GRealSampleFFT::InterpolateFrom(), GRealSampleFFT::operator*(), GRealSampleFFT::operator*=(), GRealSampleFFT::operator+(), GRealSampleFFT::operator+=(), GRealSampleFFT::operator-(), GRealSampleFFT::operator-=(), GBaseSampleFFT::Read(), GBaseSampleFFT::ReadHeader(), GBaseSampleFFT::ResizeData(), GMatrixT< T >::SetColumn(), GRealSampleFFT::SetConvolution(), GVectorT< T >::SetDimension(), GMatrixT< T >::SetDimension(), GLogMessage::SetLogFile(), GRealSampleFFT::SetProduct(), GMatrixT< T >::SetRow(), GRealSampleFFT::SetTimeResponse(), GBaseSampleFFT::Write(), and GBaseSampleFFT::WriteHeader().
|
inline |
Send a warning message (special highlighting) to an output stream. (short-cut the GLogMessage static function).
os | output stream |
text | text to be displayed |
References GLogMessage::SendLogWarning().
|
inline |
Indicate a log file name for simulation messages. When messages are sent to a log file, it is possible to switch off the terminal messages, if argument term is set to false. (this function is a short-cut the GLogMessage static function).
fname | name of the log-file |
term | indicate if terminal output is ON/OFF (default is ON) |
References GLogMessage::SetLogFile().
|
inline |
Set the information verbose level.
v | new verbose level |
References GLogMessage::SetVerboseLevel().