Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Private Attributes | Friends
cat::Recorder Class Reference

#include <Logging.hpp>

List of all members.

Public Member Functions

template<class T >
Recorderoperator<< (const T &t)
 Recorder (const char *subsystem, EventSeverity severity)
 ~Recorder ()

Private Attributes

region_ostringstream _msg
EventSeverity _severity
const char * _subsystem

Friends

class Logging

Detailed Description

Definition at line 106 of file Logging.hpp.


Constructor & Destructor Documentation

cat::Recorder::Recorder ( const char *  subsystem,
EventSeverity  severity 
)
cat::Recorder::~Recorder ( )

Member Function Documentation

template<class T >
Recorder& cat::Recorder::operator<< ( const T t) [inline]

Definition at line 118 of file Logging.hpp.

References _msg.

    {
        _msg << t;
        return *this;
    }

Friends And Related Function Documentation

friend class Logging [friend]

Definition at line 108 of file Logging.hpp.


Member Data Documentation

Definition at line 111 of file Logging.hpp.

Referenced by operator<<().

Definition at line 109 of file Logging.hpp.

const char* cat::Recorder::_subsystem [private]

Definition at line 110 of file Logging.hpp.


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net