29 #ifndef CASA_STREAMLOGSINK_H
30 #define CASA_STREAMLOGSINK_H
String id() const
Returns the id of the LogSink in use...
Send log messages to an ostream.
Abstract base class for filtering LogMessages.
virtual void flush(Bool global=True)
write any pending output.
StreamLogSink(ostream *theStream=0, bool deleteStream=false)
Defaults to cerr if no stream is supplied.
Accepts LogMessages and posts them to some destination.
static String localId()
Returns the id for this class...
bool Bool
Define the standard types used by Casacore.
virtual const LogFilterInterface & filter() const
Get/set the filter.
Priority
An "importance" which is assigned to each LogMessage.
virtual Bool postLocally(const LogMessage &message)
Write message to the stream if it passes the filter.
String: the storage and methods of handling collections of characters.
StreamLogSink & operator=(const StreamLogSink &other)
Informational log messages with with time, priority, and origin.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.