Mania++
 All Classes Functions Variables Pages
Static Public Member Functions | List of all members
Logging Class Reference

Utility to print information to the console. More...

#include <Logging.h>

Static Public Member Functions

static void PrintError (GbxError error)
 Prints error to console. More...
 
static void PrintError (int number, std::string message)
 Prints error to console. More...
 
static void PrintOKFlush ()
 Prints OK in [ ]-spaces in console.
 
static void PrintFailedFlush ()
 Prints Failed in [ ]-spaces in console.
 
static void PrintParameters (std::vector< GbxResponseParameter > parameters)
 Prints a vector with GbxResponseParameter objects (for DEBUG purposes). More...
 
static void PrintParameter (GbxResponseParameter parameter, int paramId, std::string spaces=" ", std::string parameterName="")
 Prints a GbxResponseParameter (for DEBUG purposes). More...
 

Detailed Description

Utility to print information to the console.

Member Function Documentation

static void Logging::PrintError ( GbxError  error)
inlinestatic

Prints error to console.

Parameters
errorError structure.
static void Logging::PrintError ( int  number,
std::string  message 
)
inlinestatic

Prints error to console.

Parameters
numberError number.
messageError message.
static void Logging::PrintParameter ( GbxResponseParameter  parameter,
int  paramId,
std::string  spaces = "    ",
std::string  parameterName = "" 
)
inlinestatic

Prints a GbxResponseParameter (for DEBUG purposes).

Parameters
parameterParameter to be printed.
paramIdNumber of the parameter.
spacesSpaces to be put before the parameter information.
parameterNameName of the parameter (struct value only).
static void Logging::PrintParameters ( std::vector< GbxResponseParameter parameters)
inlinestatic

Prints a vector with GbxResponseParameter objects (for DEBUG purposes).

Parameters
parametersParameters to be printed.

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