staticlib_config  1.1.1
 All Classes Namespaces Files Functions Macros
Namespaces | Macros | Functions
tracemsg.hpp File Reference
#include <limits>
#include <string>
#include "staticlib/config/current_function.hpp"
#include "staticlib/config/os.hpp"

Go to the source code of this file.

Namespaces

namespace  staticlib
namespace  staticlib::config

Macros

#define TRACEMSG(message)   staticlib::config::tracemsg(std::string() + message, __FILE__, STATICLIB_CURRENT_FUNCTION, __LINE__)

Functions

std::string staticlib::config::tracemsg (const std::string &message, const std::string &file, const std::string &func, int line)
 Prepends specified message with formatted current function name, source file name and line number.

Macro Definition Documentation

#define TRACEMSG (   message)    staticlib::config::tracemsg(std::string() + message, __FILE__, STATICLIB_CURRENT_FUNCTION, __LINE__)