29 #ifndef CASA_LOGMESSAGE_H 30 #define CASA_LOGMESSAGE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Logging/LogOrigin.h> 34 #include <casacore/casa/OS/Time.h> 35 #include <casacore/casa/iosfwd.h>
LogMessage & operator=(const LogMessage &other)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
Most messages users see should have this priority.
String toString() const
Turn this entire LogMessage into a String.
uInt line() const
Get and set the line number in the LogOrigin .
Low priority - primarily used for findding problems or tracing execution.
date and time enquiry functions, with some operations.
bool Bool
Define the standard types used by Casacore.
const String & message() const
Get the message text.
const Time & messageTime() const
Returns the time at which the message text was created.
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 toTermString() const
String: the storage and methods of handling collections of characters.
Report on a problem detected by the software.
const LogOrigin & origin() const
Get and set the origin of this LogMessage.
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.
this file contains all the compiler specific defines
Priority priority() const
Get or change the priority of this LogMessage.
void copy_other(const LogMessage &other)
Provide common implementation for copy constructor and assignment operator.