nngn
|
#include <array>
#include <sstream>
#include <string>
#include <tuple>
Go to the source code of this file.
Classes | |
class | nngn::Log |
struct | nngn::Log::context |
class | nngn::Log::replace |
Namespaces | |
namespace | nngn |
Macros | |
#define | NNGN_LOG_CONTEXT(n) NNGN_LOG_CONTEXT2(n, nullptr) |
#define | NNGN_LOG_CONTEXT_F() NNGN_LOG_CONTEXT2(__func__, nullptr) |
#define | NNGN_LOG_CONTEXT_CF(c) NNGN_LOG_CONTEXT2(#c, __func__) |
#define | NNGN_LOG_CONTEXT2(n0, n1) const auto NNGN_LOG_CONTEXT_VAR(__LINE__) = nngn::Log::context(n0, n1); |
#define | NNGN_LOG_CONTEXT_VAR(l) NNGN_LOG_CONTEXT_JOIN(lc_, l) |
#define | NNGN_LOG_CONTEXT_JOIN(x, y) x##y |
#define NNGN_LOG_CONTEXT | ( | n | ) | NNGN_LOG_CONTEXT2(n, nullptr) |
#define NNGN_LOG_CONTEXT2 | ( | n0, | |
n1 ) const auto NNGN_LOG_CONTEXT_VAR(__LINE__) = nngn::Log::context(n0, n1); |
#define NNGN_LOG_CONTEXT_CF | ( | c | ) | NNGN_LOG_CONTEXT2(#c, __func__) |
#define NNGN_LOG_CONTEXT_F | ( | ) | NNGN_LOG_CONTEXT2(__func__, nullptr) |
#define NNGN_LOG_CONTEXT_JOIN | ( | x, | |
y ) x##y |
#define NNGN_LOG_CONTEXT_VAR | ( | l | ) | NNGN_LOG_CONTEXT_JOIN(lc_, l) |