30 #ifndef LSST_PEX_LOGGING_DEBUG_H
31 #define LSST_PEX_LOGGING_DEBUG_H
40 #ifndef LSST_DEBUGGING_ON
41 #define LSST_DEBUGGING_ON
45 #undef LSST_DEBUGGING_ON
49 #ifndef LSST_DEBUGGING_ON
50 #ifndef LSST_MAX_DEBUG
51 #define LSST_MAX_DEBUG 0
55 #ifndef LSST_MAX_DEBUG
56 #define LSST_MAX_DEBUG 0
83 :
Log(parent, name , -1*verbosity) { }
87 if (
this != &that)
dynamic_cast<Log*
>(
this)->
operator=(that);
104 void debug(
int verbosity,
const std::string& message) {
105 log(-1*verbosity, message);
119 log(-1*verbosity, message);
128 void debug(
int verbosity,
const char *fmt, ...) {
131 debug(verbosity, fmt, ap);
142 void debug(
int verbosity,
const char *fmt, va_list ap) {
144 _format(-1*verbosity, fmt, ap);
152 template<
int VERBOSITY>
153 void debug(
const std::string& message) {
155 log(-1*VERBOSITY, message);
167 template<
int VERBOSITY>
172 debug(VERBOSITY, fmt, ap);
185 template <
int VERBOSITY>
186 void debug(
const std::string&
name,
const std::string& message) {
198 template <
int VERBOSITY>
199 void debug(
const std::string&
name,
const char *fmt, ...) {
211 #endif // end LSST_PEX_LOGGING_DEBUG_H
Debug & operator=(const Debug &that)
table::Key< std::string > name
void _format(int importance, const char *fmt, va_list ap)
void debug(int verbosity, const boost::format &message)
void debug(int verbosity, const char *fmt, va_list ap)
void log(int importance, const std::string &message, const lsst::daf::base::PropertySet &properties)
a place to record messages and descriptions of the state of processing.
static Log & getDefaultLog()
Debug(const std::string &name, int verbosity=-1 *Log::INHERIT_THRESHOLD)
void debug(const char *fmt,...)
static const int INHERIT_THRESHOLD
void debug(int verbosity, const char *fmt,...)
void debug(const std::string &name, const std::string &message)
void debug(int verbosity, const std::string &message)
Debug(const Log &parent, const std::string &name, int verbosity=-1 *Log::INHERIT_THRESHOLD)
void debug(const std::string &message)