Honeycomb
0.1
Component-Model Framework
|
Formats record to a stream. More...
#include <Log.h>
Public Types | |
typedef SharedPtr< StreamSink > | Ptr |
Public Types inherited from honey::log::Sink | |
typedef SharedPtr< Sink > | Ptr |
Public Member Functions | |
StreamSink (ostream &os) | |
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 | |
ostream & | os |
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... | |
Formats record to a stream.
|
inline |
Implements honey::log::Sink.
Reimplemented in honey::log::FileSink.
ostream& honey::log::StreamSink::os |