LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
A LogRecord attached to a particular Log that suppports stream stream semantics. More...
#include <Log.h>
Public Types | |
enum | Manip { endr } |
Public Member Functions | |
LogRec (Log &log, int importance) | |
LogRec (const LogRec &that) | |
virtual | ~LogRec () |
LogRec & | operator= (const LogRec &that) |
LogRec & | operator<< (const std::string &comment) |
LogRec & | operator<< (const boost::format &comment) |
template<class T > | |
LogRec & | operator<< (const RecordProperty< T > &prop) |
LogRec & | operator<< (const lsst::daf::base::PropertySet &props) |
LogRec & | operator<< (Manip signal) |
Public Member Functions inherited from lsst::pex::logging::LogRecord | |
LogRecord (int threshold, int importance, bool showAll=false) | |
LogRecord (int threshold, int importance, const lsst::daf::base::PropertySet &preamble, bool showAll=false) | |
LogRecord (const LogRecord &that) | |
virtual | ~LogRecord () |
LogRecord & | operator= (const LogRecord &that) |
void | addComment (const std::string &comment) |
void | addComment (const boost::format &comment) |
template<class T > | |
void | addProperty (const RecordProperty< T > &property) |
template<class T > | |
void | addProperty (const std::string &name, const T &val) |
void | addProperties (const lsst::daf::base::PropertySet &props) |
void | addProperties (const lsst::daf::base::PropertySet::Ptr &props) |
const lsst::daf::base::PropertySet & | getProperties () const |
lsst::daf::base::PropertySet & | getProperties () |
const lsst::daf::base::PropertySet & | data () const |
lsst::daf::base::PropertySet & | data () |
size_t | countParamNames () |
size_t | countParamValues () const |
int | getImportance () const |
bool | willRecord () const |
bool | willShowAll () const |
void | setShowAll (bool yesno) |
void | setTimestamp () |
virtual void | setDate () |
Private Attributes | |
bool | _sent |
Log * | _log |
Additional Inherited Members | |
Static Public Member Functions inherited from lsst::pex::logging::LogRecord | |
static long long | utcnow () |
Protected Member Functions inherited from lsst::pex::logging::LogRecord | |
LogRecord () | |
void | _init () |
Protected Attributes inherited from lsst::pex::logging::LogRecord | |
bool | _send |
bool | _showAll |
int | _vol |
lsst::daf::base::PropertySet::Ptr | _data |
A LogRecord attached to a particular Log that suppports stream stream semantics.
|
inline |
|
inline |
|
virtual |
delete this record
LogRec& lsst::pex::logging::LogRec::operator<< | ( | const std::string & | comment | ) |
record a string comment into this message
|
inline |
record a string comment into this message
Definition at line 788 of file Log.h.
|
inline |
record a data property into this message
Definition at line 797 of file Log.h.
|
inline |
receive a message manipulator signal. The most common use of this version is to indicate that the Record is now complete and should be flushed to the Log.
signal | the manipulator signal value (e.g. LogRec::endr). |
Definition at line 816 of file Log.h.
copy another record into this one
Definition at line 759 of file Log.h.