Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Public Attributes | List of all members
honey::log::BufferSink Struct Reference

Captures records in a buffer. More...

#include <Log.h>

Inheritance diagram for honey::log::BufferSink:
Inheritance graph
[legend]
Collaboration diagram for honey::log::BufferSink:
Collaboration graph
[legend]

Public Types

typedef SharedPtr< BufferSinkPtr
 
- Public Types inherited from honey::log::Sink
typedef SharedPtr< SinkPtr
 

Public Member Functions

virtual void operator() (const Level &level, const String &record)
 
- Public Member Functions inherited from honey::SharedObj< Sink >
 SharedObj (Alloc &&a=Alloc()) debug_if(
 Construct with allocator that is called to deallocate this shared object when all references have been released. More...
 

Public Attributes

vector< tuple< const Level *, String > > records
 

Additional Inherited Members

- Protected Member Functions inherited from honey::SharedObj< Sink >
void finalize ()
 Destroys object. Called when strong reference count reaches 0. May be overridden to prevent destruction. More...
 

Detailed Description

Captures records in a buffer.

Member Typedef Documentation

Member Function Documentation

void honey::log::BufferSink::operator() ( const Level level,
const String record 
)
virtual

Implements honey::log::Sink.

Member Data Documentation

vector<tuple<const Level*, String> > honey::log::BufferSink::records

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