lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Defines | |
#define | LEAN_LOG_ERROR_NIL() ::lean::logging::log_error(LEAN_SOURCE_STRING) |
Logs an error message, prepending the caller's file and line. | |
#define | LEAN_LOG_ERROR_MSG(msg) ::lean::logging::log_error(LEAN_SOURCE_STRING, msg) |
Logs the given error message, prepending the caller's file and line. | |
#define | LEAN_LOG_ERROR_CTX(msg, ctx) ::lean::logging::log_error(LEAN_SOURCE_STRING, msg, ctx) |
Logs the given error message and context, prepending the caller's file and line. | |
#define | LEAN_LOG_ERROR_XMSG(msg, orig) ::lean::logging::log_error_ex(LEAN_SOURCE_STRING, msg, orig) |
Logs the given error message and context, prepending the caller's file and line. | |
#define | LEAN_LOG_ERROR_XCTX(msg, orig, ctx) ::lean::logging::log_error_ex(LEAN_SOURCE_STRING, msg, orig, ctx) |
Logs the given error message and context, prepending the caller's file and line. | |
#define | LEAN_LOG(msg) ::lean::log_stream_out(::lean::info_log()) << LEAN_SOURCE_STRING << ": " << msg << ::std::endl |
Logs the given message, prepending the caller's file and line. | |
#define | LEAN_LOG_BREAK() ::lean::log_stream_out(::lean::info_log()) << ::std::endl |
Adds a line break. | |
#define | LEAN_LOG_ERROR(msg) ::lean::log_stream_out(::lean::error_log()) << LEAN_SOURCE_STRING << ": " << msg << ::std::endl |
Logs the given error message, prepending the caller's file and line. | |
#define | LEAN_LOG_ERROR_BREAK() ::lean::log_stream_out(::lean::error_log()) << ::std::endl |
Adds a line break. | |
#define | LEAN_LOG_WIN_ERROR() ::lean::logging::log_last_win_error(__FILE__ " (" LEAN_QUOTE_VALUE(__LINE__) ")") |
Logs an error message, prepending the caller's file and line. | |
#define | LEAN_LOG_WIN_ERROR_MSG(msg) ::lean::logging::log_last_win_error(__FILE__ " (" LEAN_QUOTE_VALUE(__LINE__) ")", msg) |
Logs the given error message, prepending the caller's file and line. | |
#define | LEAN_LOG_WIN_ERROR_CTX(msg, ctx) ::lean::logging::log_last_win_error(__FILE__ " (" LEAN_QUOTE_VALUE(__LINE__) ")", msg, ctx) |
Logs the given error message and context, prepending the caller's file and line. | |
#define | LEAN_LOG_WIN_ERROR_ANY(msg) LEAN_THROW_WIN_ERROR_MSG(static_cast<::std::ostringstream&>(::std::ostringstream() << msg).str().c_str()) |
Logs the given error message and context, prepending the caller's file and line. |