openModeller  Version 1.5.0
Log::OstreamCallback Class Reference

#include <Log.hh>

Inheritance diagram for Log::OstreamCallback:
Inheritance graph
Collaboration diagram for Log::OstreamCallback:
Collaboration graph

Public Member Functions

 OstreamCallback (std::ostream &os)
 
void operator() (Level level, const std::string &msg)
 
- Public Member Functions inherited from Log::LogCallback
virtual ~LogCallback ()
 

Private Attributes

std::ostream & os
 

Detailed Description

Definition at line 69 of file Log.hh.

Constructor & Destructor Documentation

Log::OstreamCallback::OstreamCallback ( std::ostream &  os)

Definition at line 98 of file Log.cpp.

Member Function Documentation

void Log::OstreamCallback::operator() ( Level  level,
const std::string &  msg 
)
virtual

Implements Log::LogCallback.

Definition at line 103 of file Log.cpp.

Member Data Documentation

std::ostream& Log::OstreamCallback::os
private

Definition at line 74 of file Log.hh.


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