|
BDE 4.39.x Production Release
|
#include <ball_observer.h>
This class provides a protocol for receiving and processing log record output.
See ball_observer
Public Member Functions | |
| virtual | ~Observer () |
| virtual void | publish (const Record &record, const Context &context) |
| virtual void | publish (const bsl::shared_ptr< const Record > &record, const Context &context) |
| virtual void | releaseRecords () |
|
virtual |
Destroy this observer.
|
virtual |
Process the specified log record having the specified publishing context. The exact definition of publish depends on the implementing class, though the intention is that the log record (whose publication has occurred according to context) be distributed in a human or machine readable form.
Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::CstdioObserver, ball::FilteringObserver, ball::StreamObserver, ball::AsyncFileObserver, ball::BroadcastObserver, ball::CstdioObserver, ball::FileObserver, ball::FileObserver2, ball::FilteringObserver, ball::MultiplexObserver, ball::ObserverAdapter, ball::StreamObserver, and ball::TestObserver.
Process the specified log record having the specified publishing context.
publish overload instead. Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::CstdioObserver, ball::FilteringObserver, ball::StreamObserver, ball::FileObserver, ball::FileObserver2, ball::MultiplexObserver, ball::TestObserver, and ball::ObserverAdapter.
|
virtual |
Discard any shared references to Record objects that were supplied to the publish method, and are held by this observer.
Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::CstdioObserver, ball::FileObserver, ball::FileObserver2, ball::FilteringObserver, ball::MultiplexObserver, ball::ObserverAdapter, ball::StreamObserver, and ball::TestObserver.