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>
Send log messages to an ostream.
String id() const
Returns the id of the LogSink in use...
Abstract base class for filtering LogMessages.
virtual void flush(Bool global=True)
write any pending output.
virtual const LogFilterInterface & filter() const
Get/set the filter.
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.
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.
this file contains all the compiler specific defines