Class zmbt::Logger¶
Public Types¶
Type | Name |
---|---|
enum | Level |
enum | Output |
Public Functions¶
Type | Name |
---|---|
Logger () |
|
Logger & | WithLevel (Level const level) |
Logger & | WithOutput (Output const output) |
Logger & | WithSrcLoc (boost::json::string_view const src_loc) |
Logger & | operator<< (boost::json::value const & value) |
~Logger () |
Public Static Functions¶
Type | Name |
---|---|
Level | get_max_level () |
bool | get_notrim () |
void | open_json (const std::string & filename="") Attach logger to file sink ("" means stdout) |
void | set_max_level (Level const max_level) |
void | set_notrim (bool const trim_line) |
Public Types Documentation¶
enum Level¶
enum Output¶
Public Functions Documentation¶
function Logger¶
function WithLevel¶
function WithOutput¶
function WithSrcLoc¶
function operator<<¶
function ~Logger¶
Public Static Functions Documentation¶
function get_max_level¶
function get_notrim¶
function open_json¶
Attach logger to file sink ("" means stdout)
function set_max_level¶
function set_notrim¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/logging.hpp