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 & | operator<< (entity_id const & value) |
| ~Logger () |
Public Static Functions¶
| Type | Name |
|---|---|
| bool | is_notrim_enabled () |
| bool | is_pretty_print_enabled () |
| Level | max_level () |
| 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) |
| void | set_pretty_print (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 operator<<¶
function ~Logger¶
Public Static Functions Documentation¶
function is_notrim_enabled¶
function is_pretty_print_enabled¶
function max_level¶
function open_json¶
Attach logger to file sink ("" means stdout)
function set_max_level¶
function set_notrim¶
function set_pretty_print¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/application/log.hpp