8#ifndef INCLUDED_BALL_STREAMOBSERVER
9#define INCLUDED_BALL_STREAMOBSERVER
157#include <balscm_version.h>
173#include <bsl_iosfwd.h>
174#include <bsl_functional.h>
206 bsl::ostream *d_stream_p;
223 void logRecordDefault(bsl::ostream& stream,
const Record& record);
Definition ball_context.h:295
Definition ball_observer.h:235
Definition ball_record.h:178
Definition ball_streamobserver.h:192
bsl::function< void(bsl::ostream &, const Record &)> RecordFormatFunctor
Definition ball_streamobserver.h:200
bsl::allocator< char > allocator_type
Definition ball_streamobserver.h:202
BSLMF_NESTED_TRAIT_DECLARATION(StreamObserver, bslma::UsesBslmaAllocator)
~StreamObserver() BSLS_KEYWORD_OVERRIDE
Destroy this stream observer.
void setRecordFormatFunctor(const RecordFormatFunctor &formatter)
void publish(const bsl::shared_ptr< const Record > &record, const Context &context) BSLS_KEYWORD_OVERRIDE
void releaseRecords() BSLS_KEYWORD_OVERRIDE
Definition ball_streamobserver.h:281
StreamObserver(bsl::ostream *stream, const allocator_type &allocator=allocator_type())
Definition bslma_bslallocator.h:580
Forward declaration.
Definition bslstl_function.h:934
Definition bslmt_mutex.h:315
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition ball_administration.h:214
Definition bdlb_printmethods.h:283
Definition bslma_usesbslmaallocator.h:343