#include <log.h>
|
static std::ostream * | set (std::ostream *l) |
|
static std::ostream & | l () |
|
static void | perror (const char *s=nullptr) |
|
template<typename F > |
static std::string | capture (F f) |
|
template<typename F > |
static | with_context (const char *name, F f) |
|
static std::ostream * | set (std::ostream *l) |
|
static std::ostream & | l () |
|
static void | perror (const char *s=nullptr) |
|
template<typename F > |
static std::string | capture (F f) |
|
template<typename F > |
static | with_context (const char *name, F f) |
|
|
using | record = std::tuple< const char *, const char * > |
|
using | record = std::tuple< const char *, const char * > |
|
◆ record [1/2]
◆ record [2/2]
◆ capture() [1/2]
std::string nngn::Log::capture |
( |
F |
f | ) |
|
|
static |
◆ capture() [2/2]
static std::string nngn::Log::capture |
( |
F |
f | ) |
|
|
static |
◆ l() [1/2]
std::ostream & nngn::Log::l |
( |
| ) |
|
|
static |
◆ l() [2/2]
static std::ostream & nngn::Log::l |
( |
| ) |
|
|
static |
◆ perror() [1/2]
void nngn::Log::perror |
( |
const char * |
s = nullptr | ) |
|
|
static |
◆ perror() [2/2]
static void nngn::Log::perror |
( |
const char * |
s = nullptr | ) |
|
|
static |
◆ set() [1/2]
std::ostream * nngn::Log::set |
( |
std::ostream * |
l | ) |
|
|
static |
◆ set() [2/2]
static std::ostream * nngn::Log::set |
( |
std::ostream * |
l | ) |
|
|
static |
◆ with_context() [1/3]
static nngn::Log::with_context |
( |
const char * |
name, |
|
|
F |
f |
|
) |
| |
|
static |
◆ with_context() [2/3]
nngn::Log::with_context |
( |
const char * |
name, |
|
|
F |
f |
|
) |
| |
◆ with_context() [3/3]
static nngn::Log::with_context |
( |
const char * |
name, |
|
|
F |
f |
|
) |
| |
|
static |
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
Log::record |
r |
|
) |
| |
|
friend |
◆ operator<< [2/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
Log::record |
r |
|
) |
| |
|
friend |
◆ depth
static thread_local uint8_t nngn::Log::depth = 0 |
|
staticprivate |
◆ MAX_DEPTH
static constexpr uint8_t nngn::Log::MAX_DEPTH = 16 |
|
staticconstexpr |
◆ stack
◆ stream
static std::ostream * nngn::Log::stream |
|
staticprivate |
Initial value:=
[]{
const auto init = std::ios_base::Init();
return &std::cerr; }()
init
Definition: img_common.lua:34
The documentation for this class was generated from the following files: