public abstract

Inheritance Graph

graph BT
	Logger
	LoggerJSON --> Logger
	LoggerPlainText --> Logger
	LoggerTSV --> Logger
	LoggerXML --> Logger
	click Logger "classMinSG_1_1Profiling_1_1Logger"
	click LoggerJSON "classMinSG_1_1Profiling_1_1LoggerJSON"
	click LoggerPlainText "classMinSG_1_1Profiling_1_1LoggerPlainText"
	click LoggerTSV "classMinSG_1_1Profiling_1_1LoggerTSV"
	click LoggerXML "classMinSG_1_1Profiling_1_1LoggerXML"

Description

Base class for logging actions. The format of the output that is written to the associated stream is determined by selecting an appropriate subclass.

Protected Attributes

   
   
std::ostream & output

Public Functions

   
   
  Logger(std::ostream & outputStream)
   
  ~Logger()
   
void log(const Action & action)
Create formatted output for the given action.

Documentation

variable
MinSG::Profiling::Logger::output

protected
 
 
std::ostream & output

Defined in MinSG/Ext/Profiling/Logger.h:29


function
MinSG::Profiling::Logger::Logger

public
     
     
Logger( std::ostream & outputStream )

Defined in MinSG/Ext/Profiling/Logger.h:31


function
MinSG::Profiling::Logger::~Logger

public virtual
   
   
~Logger( )

Defined in MinSG/Ext/Profiling/Logger.h:32


function
MinSG::Profiling::Logger::log

public virtual
     
     
void log( const Action & action )

Create formatted output for the given action.

Defined in MinSG/Ext/Profiling/Logger.h:35