29 #ifndef CASA_STREAMLOGSINK_H
30 #define CASA_STREAMLOGSINK_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Logging/LogSinkInterface.h>
35 #include <casacore/casa/iosfwd.h>
Priority
An "importance" which is assigned to each LogMessage.
virtual const LogFilterInterface & filter() const
Get/set the filter.
virtual void flush(Bool global=True)
write any pending output.
virtual Bool postLocally(const LogMessage &message)
Write message to the stream if it passes the filter.
StreamLogSink & operator=(const StreamLogSink &other)
StreamLogSink(const StreamLogSink &other)
Make a copy of other.
StreamLogSink(const LogFilterInterface &filter, ostream *theStream=0, bool deleteStream=false)
String id() const
Returns the id of the LogSink in use...
static String localId()
Returns the id for this class...
StreamLogSink(ostream *theStream=0, bool deleteStream=false)
Defaults to cerr if no stream is supplied.
StreamLogSink(LogMessage::Priority filter, ostream *theStream=0, bool deleteStream=false)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.