|
#define | DBG_PRINT(...) { if( jau::environment::get().debug ) { jau::DBG_PRINT_impl(__VA_ARGS__); } } |
| Use for environment-variable environment::DEBUG conditional debug messages, prefix '[elapsed_time] Debug: '. More...
|
|
#define | DBG_JNI_PRINT(...) { if( jau::environment::get().debug_jni ) { jau::DBG_PRINT_impl(__VA_ARGS__); } } |
| Use for environment-variable environment::DEBUG_JNI conditional debug messages, prefix '[elapsed_time] Debug: '. More...
|
|
#define | WORDY_PRINT(...) { if( jau::environment::get().verbose ) { jau::WORDY_PRINT_impl(__VA_ARGS__); } } |
| Use for environment-variable environment::VERBOSE conditional verbose messages, prefix '[elapsed_time] Wordy: '. More...
|
|
#define | PERF_TS_T0_BASE() const uint64_t _t0 = jau::getCurrentMilliseconds() |
|
#define | PERF_TS_TD_BASE(m) |
|
#define | PERF_TS_T0() |
|
#define | PERF_TS_TD(m) |
|
#define | PERF2_TS_T0() |
|
#define | PERF2_TS_TD(m) |
|
#define | PERF3_TS_T0() |
|
#define | PERF3_TS_TD(m) |
|
#define | ABORT(...) { jau::ABORT_impl(__func__, __FILE__, __LINE__, __VA_ARGS__); } |
| Use for unconditional ::abort() call with given messages, prefix '[elapsed_time] ABORT @ FILE:LINE: '. More...
|
|
#define | ERR_PRINT(...) { jau::ERR_PRINT_impl("Error", true /* backtrace */, __func__, __FILE__, __LINE__, __VA_ARGS__); } |
| Use for unconditional error messages, prefix '[elapsed_time] Error @ FILE:LINE: '. More...
|
|
#define | ERR_PRINT2(...) { jau::ERR_PRINT_impl("Error", false /* backtrace */, __func__, __FILE__, __LINE__, __VA_ARGS__); } |
| Use for unconditional error messages, prefix '[elapsed_time] Error @ FILE:LINE: '. More...
|
|
#define | IRQ_PRINT(...) { jau::ERR_PRINT_impl("Interrupted", false /* backtrace */, __func__, __FILE__, __LINE__, __VA_ARGS__); } |
| Use for unconditional interruption messages, prefix '[elapsed_time] Interrupted @ FILE:LINE: '. More...
|
|
#define | WARN_PRINT(...) { jau::WARN_PRINT_impl(__func__, __FILE__, __LINE__, __VA_ARGS__); } |
| Use for unconditional warning messages, prefix '[elapsed_time] Warning @ FILE:LINE: '. More...
|
|
#define | COND_PRINT(C, ...) { if( C ) { jau::COND_PRINT_impl(__VA_ARGS__); } } |
| Use for conditional plain messages, prefix '[elapsed_time] '. More...
|
|
|
std::string | jau::get_backtrace (const bool skip_anon_frames, const jau::snsize_t max_frames=-1, const jau::nsize_t skip_frames=1) noexcept |
| Returns a de-mangled backtrace string separated by newline excluding this function. More...
|
|
void | jau::print_backtrace (const bool skip_anon_frames, const jau::snsize_t max_frames=-1, const jau::nsize_t skip_frames=2) noexcept |
| Prints the de-mangled backtrace string separated by newline excluding this function to stderr, using get_backtrace(). More...
|
|
void | jau::DBG_PRINT_impl (const char *format,...) noexcept |
|
void | jau::WORDY_PRINT_impl (const char *format,...) noexcept |
|
void | jau::ABORT_impl (const char *func, const char *file, const int line, const char *format,...) noexcept |
| Use for unconditional ::abort() call with given messages, prefix '[elapsed_time] ABORT @ file:line: '. More...
|
|
void | jau::ERR_PRINTv (const char *func, const char *file, const int line, const char *format, va_list args) noexcept |
| Use for unconditional error messages, prefix '[elapsed_time] Error @ file:line: '. More...
|
|
void | jau::ERR_PRINT_impl (const char *prefix, const bool backtrace, const char *func, const char *file, const int line, const char *format,...) noexcept |
|
void | jau::WARN_PRINTv (const char *func, const char *file, const int line, const char *format, va_list args) noexcept |
| Use for unconditional warning messages, prefix '[elapsed_time] Warning @ file:line: '. More...
|
|
void | jau::WARN_PRINT_impl (const char *func, const char *file, const int line, const char *format,...) noexcept |
|
void | jau::INFO_PRINT (const char *format,...) noexcept |
| Use for unconditional informal messages, prefix '[elapsed_time] Info: '. More...
|
|
void | jau::PLAIN_PRINT (const bool printPrefix, const char *format,...) noexcept |
| Use for unconditional plain messages, prefix '[elapsed_time] ' if printPrefix == true. More...
|
|
int | jau::fprintf_td (FILE *stream, const char *format,...) noexcept |
| Convenient fprintf() invocation, prepending the environment::getElapsedMillisecond() timestamp. More...
|
|
void | jau::COND_PRINT_impl (const char *format,...) noexcept |
|
template<class List > |
void | jau::printSharedPtrList (std::string prefix, List &list) noexcept |
|