~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/core/common/WLogger.cpp

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
boost::signals2::connection WLogger::subscribeSignal( LogEvent event, LogEntryCallback callback )
74
74
{
75
 
    switch ( event ) // subscription
 
75
    switch( event ) // subscription
76
76
    {
77
77
    case AddLog:
78
78
        return m_addLogSignal.connect( callback );
118
118
    m_outputs.push_back( s );
119
119
}
120
120
 
 
121
void WLogger::removeStream( WLogStream::SharedPtr s )
 
122
{
 
123
    m_outputs.remove( s );
 
124
}
 
125
 
121
126
wlog::WStreamedLogger::Buffer::~Buffer()
122
127
{
123
128
    WLogger::getLogger()->addLogMessage( m_logString.str(), m_source, m_level );