void postThenThrow(const EXC &exc)
Post the accumulated message at SEVERE priority and then throw an exception.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
LogIO & operator=(const LogIO &other)
std::complex< Float > Complex
unsigned long long uInt64
void sourceLocation(const SourceLocation *where)
Change the location in the origin.
~LogIO()
The destructor will post any accumulated message that has not already been posted.
void origin(const LogOrigin &origin)
Change the origin of the accumulated message.
Post the accumulated message then throw an exception.
Command
Special commands to the LogIO object.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
ostream-like interface to creating log messages.
LogSinkInterface & localSink()
Occasionally it is useful to interrogate the local log sink.
Change the message priority to WARN.
LogMessage::Priority priority()
void postThenThrow(const LogMessage &message, const EXC &exc)
Post message and then throw an AipsError exception containing message.toString(). ...
Accepts LogMessages and posts them to some destination.
void preparePostThenThrow(const AipsError &x)
Prepare message stream for postThenThrow function.
Change the message priority to SEVERE.
ostream & output()
Acumulate output in this ostream.
std::complex< Double > DComplex
Change the message priority to NORMAL.
bool Bool
Define the standard types used by Casacore.
void postLocally()
Post the accumulated message locally.
Post the accumulated message.
LogOrigin: The source code location of the originator of a LogMessage.
Priority
An "importance" which is assigned to each LogMessage.
Base class for all Casacore library errors.
Distribute LogMessages to their destination(s)
const LogSinkInterface & localSink() const
Change the sink that this LogSink actually uses.
void post()
Post the accumulated message.
String: the storage and methods of handling collections of characters.
LogIO()
Attach this LogIO object to the global sink with no origin information.
Informational log messages with with time, priority, and origin.
Change the message priority to DEBUGGING.