29 #ifndef CASA_LOGMESSAGE_H
30 #define CASA_LOGMESSAGE_H
uInt line() const
Get and set the line number in the LogOrigin.
LogMessage & operator=(const LogMessage &other)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
String toString() const
Turn this entire LogMessage into a String.
Most messages users see should have this priority.
Priority priority() const
Get or change the priority of this LogMessage.
const Time & messageTime() const
Returns the time at which the message text was created.
const LogOrigin & origin() const
Get and set the origin of this LogMessage.
Low priority - primarily used for findding problems or tracing execution.
const String & message() const
Get the message text.
date and time enquiry functions, with some operations.
bool Bool
Define the standard types used by Casacore.
String toTermString() const
Use messages of warning level to flag things that are unusual and might well be errors.
LogOrigin: The source code location of the originator of a LogMessage.
LogMessage & sourceLocation(const SourceLocation *where)
Set the source location - usually this will be called with the macro WHERE.
Priority
An "importance" which is assigned to each LogMessage.
String: the storage and methods of handling collections of characters.
Report on a problem detected by the software.
LogMessage(Priority priority=NORMAL)
Create a message with the given priority and the current time, and an empty origin and message...
Informational log messages with with time, priority, and origin.
void copy_other(const LogMessage &other)
Provide common implementation for copy constructor and assignment operator.