mermaid::support::logging::TerminalOutput Class Reference

Prints LogMessage's to the standard output. More...

#include <Logger.hpp>

Inheritance diagram for mermaid::support::logging::TerminalOutput:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::logging::TerminalOutput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void outputMessage (const LogMessage &logMessage)
 Logs a message generated by the logger.

Static Public Member Functions

static shared_ptr
< ThreadSafeOutput
build ()
 Gets the TerminalOutput. Beware that the TerminalOutput is a singleton accessible only through a ThreadSafeOutput.

Detailed Description

Prints LogMessage's to the standard output.

Author:
Joao Reis

Definition at line 687 of file Logger.hpp.


Member Function Documentation

shared_ptr< ThreadSafeOutput > TerminalOutput::build (  )  [static]

Gets the TerminalOutput. Beware that the TerminalOutput is a singleton accessible only through a ThreadSafeOutput.

Returns:
A shared_ptr to the new TerminalOutput.
Author:
Joao Reis

Definition at line 47 of file TerminalOutput.cpp.

void TerminalOutput::outputMessage ( const LogMessage logMessage  )  [virtual]

Logs a message generated by the logger.

Parameters:
logMessage the message to log.
Author:
Joao Reis

Implements mermaid::support::logging::LogOutput.

Definition at line 56 of file TerminalOutput.cpp.

Generated on Fri Mar 4 22:15:49 2011 for MeRMaID::support by  doxygen 1.6.3