#include <log.h>
◆ record
◆ capture()
std::string nngn::Log::capture |
( |
F | f | ) |
|
|
static |
◆ l()
std::ostream & nngn::Log::l |
( |
| ) |
|
|
static |
◆ perror()
void nngn::Log::perror |
( |
const char * | s = nullptr | ) |
|
|
static |
◆ set()
std::ostream * nngn::Log::set |
( |
std::ostream * | l | ) |
|
|
static |
◆ with_context() [1/2]
static nngn::Log::with_context |
( |
const char * | name, |
|
|
F | f ) |
|
static |
◆ with_context() [2/2]
nngn::Log::with_context |
( |
const char * | name, |
|
|
F | f ) |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
Log::record | r ) |
|
friend |
◆ depth
thread_local uint8_t nngn::Log::depth = 0 |
|
staticprivate |
◆ MAX_DEPTH
uint8_t nngn::Log::MAX_DEPTH = 16 |
|
staticconstexpr |
◆ stack
◆ stream
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: