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