30 #ifndef LSST_PEX_LOGRECORD_H
31 #define LSST_PEX_LOGRECORD_H
35 #include <boost/shared_ptr.hpp>
36 #include <boost/format.hpp>
40 #define LSST_LP_COMMENT "COMMENT"
41 #define LSST_LP_TIMESTAMP "TIMESTAMP"
42 #define LSST_LP_DATE "DATE"
43 #define LSST_LP_LOG "LOG"
44 #define LSST_LP_LEVEL "LEVEL"
114 LogRecord(
int threshold,
int importance,
bool showAll=
false);
305 static long long utcnow();
340 #endif // end LSST_PEX_LOGRECORD_H
lsst::daf::base::PropertySet & getProperties()
std::vector< std::string > paramNames(bool topLevelOnly=true) const
table::Key< std::string > name
void addComment(const std::string &comment)
void addProperties(const lsst::daf::base::PropertySet::Ptr &props)
boost::shared_ptr< PropertySet > Ptr
static long long utcnow()
lsst::daf::base::PropertySet & data()
const lsst::daf::base::PropertySet & data() const
a container for constructing a single Log record
RecordProperty(const std::string &pname, const T &pvalue)
LogRecord(const LogRecord &that)
void addProperty(const RecordProperty< T > &property)
lsst::daf::base::PropertySet::Ptr _data
int getImportance() const
void addComment(const boost::format &comment)
Class for storing generic metadata.
void addTo(lsst::daf::base::PropertySet &set)
Prop(const std::string &pname, const T &value)
size_t countParamValues() const
Interface for PropertySet class.
void setShowAll(bool yesno)
void add(std::string const &name, T const &value)
a container for a named data property for a LogRecord
void addProperties(const lsst::daf::base::PropertySet &props)
const lsst::daf::base::PropertySet & getProperties() const
LogRecord & operator=(const LogRecord &that)