diff --git a/docs/classclutchlog-members.html b/docs/classclutchlog-members.html index 5c8b8ab..0c01984 100644 --- a/docs/classclutchlog-members.html +++ b/docs/classclutchlog-members.html @@ -69,42 +69,42 @@ $(function() {
This is the complete list of members for clutchlog, including all inherited members.
| _format_dump (defined in clutchlog) | clutchlog | protected |
| _format_log (defined in clutchlog) | clutchlog | protected |
| _in_file (defined in clutchlog) | clutchlog | protected |
| _in_func (defined in clutchlog) | clutchlog | protected |
| _in_line (defined in clutchlog) | clutchlog | protected |
| _level_fmt (defined in clutchlog) | clutchlog | protected |
| _level_word (defined in clutchlog) | clutchlog | protected |
| _out (defined in clutchlog) | clutchlog | protected |
| _stage (defined in clutchlog) | clutchlog | protected |
| _strip_calls (defined in clutchlog) | clutchlog | protected |
| _word_level (defined in clutchlog) | clutchlog | protected |
| _format_dump | clutchlog | protected |
| _format_log | clutchlog | protected |
| _in_file | clutchlog | protected |
| _in_func | clutchlog | protected |
| _in_line | clutchlog | protected |
| _level_fmt | clutchlog | protected |
| _level_word | clutchlog | protected |
| _out | clutchlog | protected |
| _stage | clutchlog | protected |
| _strip_calls | clutchlog | protected |
| _word_level | clutchlog | protected |
| clutchlog(clutchlog const &)=delete (defined in clutchlog) | clutchlog | |
| critical enum value (defined in clutchlog) | clutchlog | |
| debug enum value (defined in clutchlog) | clutchlog | |
| default_depth_mark (defined in clutchlog) | clutchlog | inlineprotectedstatic |
| default_format (defined in clutchlog) | clutchlog | inlineprotectedstatic |
| dump(const level &stage, const In container_begin, const In container_end, const std::string &file, const std::string &func, size_t line, const std::string &filename_template="dump_{n}.dat", const std::string sep=dump_default_sep) const | clutchlog | inline |
| dump_default_format (defined in clutchlog) | clutchlog | inlineprotectedstatic |
| dump_default_sep (defined in clutchlog) | clutchlog | inlineprotectedstatic |
| error enum value (defined in clutchlog) | clutchlog | |
| file(std::string file) | clutchlog | inline |
| format(const std::string &format) | clutchlog | inline |
| format() const | clutchlog | inline |
| format(std::string format, const std::string &what, const level &stage, const std::string &file, const std::string &func, const size_t line) const | clutchlog | inline |
| format_comment(const std::string &format) | clutchlog | inline |
| format_comment() const | clutchlog | inline |
| func(std::string func) | clutchlog | inline |
| info enum value (defined in clutchlog) | clutchlog | |
| level enum name | clutchlog | |
| level_of(const std::string name) | clutchlog | inline |
| line(std::string line) | clutchlog | inline |
| locate(const level &stage, const std::string &file, const std::string &func, const size_t line) const | clutchlog | inline |
| location(const std::string &in_file, const std::string &in_function=".*", const std::string &in_line=".*") | clutchlog | inline |
| log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const | clutchlog | inline |
| logger() | clutchlog | inlinestatic |
| max_buffer (defined in clutchlog) | clutchlog | protectedstatic |
| default_depth_mark | clutchlog | inlineprotectedstatic |
| default_format | clutchlog | inlineprotectedstatic |
| default_strip_calls | clutchlog | inlineprotectedstatic |
| dump(const level &stage, const In container_begin, const In container_end, const std::string &file, const std::string &func, size_t line, const std::string &filename_template="dump_{n}.dat", const std::string sep=dump_default_sep) const | clutchlog | inline |
| dump_default_format | clutchlog | inlineprotectedstatic |
| dump_default_sep | clutchlog | inlineprotectedstatic |
| error enum value (defined in clutchlog) | clutchlog | |
| file(std::string file) | clutchlog | inline |
| format(const std::string &format) | clutchlog | inline |
| format() const | clutchlog | inline |
| format(std::string format, const std::string &what, const level &stage, const std::string &file, const std::string &func, const size_t line) const | clutchlog | inline |
| format_comment(const std::string &format) | clutchlog | inline |
| format_comment() const | clutchlog | inline |
| func(std::string func) | clutchlog | inline |
| info enum value (defined in clutchlog) | clutchlog | |
| level enum name | clutchlog | |
| level_of(const std::string name) | clutchlog | inline |
| line(std::string line) | clutchlog | inline |
| locate(const level &stage, const std::string &file, const std::string &func, const size_t line) const | clutchlog | inline |
| location(const std::string &in_file, const std::string &in_function=".*", const std::string &in_line=".*") | clutchlog | inline |
| log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const | clutchlog | inline |
| logger() | clutchlog | inlinestatic |
| note enum value (defined in clutchlog) | clutchlog | |
| operator=(clutchlog const &)=delete (defined in clutchlog) | clutchlog | |
| out(std::ostream &out) | clutchlog | inline |
| progress enum value (defined in clutchlog) | clutchlog | |
| replace(const std::string &form, const std::string &mark, const std::string &tag) const | clutchlog | inline |
| replace(const std::string &form, const std::string &mark, const size_t tag) const | clutchlog | inline |
| strip_calls (defined in clutchlog) | clutchlog | inlineprotectedstatic |
| style(level stage, FMT... styles) | clutchlog | inline |
| style(level stage, fmt style) | clutchlog | inline |
| style(level stage) const | clutchlog | inline |
| threshold(level l) | clutchlog | inline |
| threshold() const | clutchlog | inline |
| warning enum value (defined in clutchlog) | clutchlog | |
| xdebug enum value (defined in clutchlog) | clutchlog | |
| style(level stage, FMT... styles) | clutchlog | inline |
| style(level stage, fmt style) | clutchlog | inline |
| style(level stage) const | clutchlog | inline |
| threshold(level l) | clutchlog | inline |
| threshold() const | clutchlog | inline |
| warning enum value (defined in clutchlog) | clutchlog | |
| xdebug enum value (defined in clutchlog) | clutchlog |
Static Protected Attributes | |
| -static std::string | default_format = CLUTCHLOG_DEFAULT_FORMAT | default_format = CLUTCHLOG_DEFAULT_FORMAT | +
| Default format of the messages. | |
| -static std::string | dump_default_format = CLUTCHDUMP_DEFAULT_FORMAT | dump_default_format = CLUTCHDUMP_DEFAULT_FORMAT | +
| Default format of the comment line in file dump. | |
| -static std::string | dump_default_sep = CLUTCHDUMP_DEFAULT_SEP | dump_default_sep = CLUTCHDUMP_DEFAULT_SEP | +
| Default item separator for dump. | |
| -static std::string | default_depth_mark = CLUTCHLOG_DEFAULT_DEPTH_MARK | default_depth_mark = CLUTCHLOG_DEFAULT_DEPTH_MARK | +
| Default mark for stack depth. | |
| -static unsigned int | strip_calls = CLUTCHLOG_STRIP_CALLS |
| +static unsigned int | default_strip_calls = CLUTCHLOG_STRIP_CALLS |
| Number of call stack levels to remove from depth display by default. | |
High-level API |
Internal details | ||
| -static const size_t | max_buffer = 4096 | |
| -const size_t | _strip_calls | _strip_calls | +
| Current number of call stack levels to remove from depth display. | ||
| -const std::map< level, std::string > | _level_word | _level_word | +
| Dictionary of level identifier to their string representation. | ||
| -std::map< std::string, level > | _word_level | _word_level | +
| Dictionary of level string to their identifier. | ||
| -std::map< level, fmt > | _level_fmt | _level_fmt | +
| Dictionary of level identifier to their format. | ||
| -std::string | _format_log | _format_log | +
| Current format of the standard output. | ||
| -std::string | _format_dump | _format_dump | +
| Current format of the file output. | ||
| -std::ostream * | _out | _out | +
| Standard output. | ||
| -level | _stage | _stage | +
| Current log level. | ||
| -std::regex | _in_file | _in_file | +
| Current file location filter. | ||
| -std::regex | _in_func | _in_func | +
| Current function location filter. | ||
| -std::regex | _in_line | _in_line | +
| Current line location filter. | ||
| clutchlog (clutchlog const &)=delete | ||
| back (defined in clutchlog::fmt) | clutchlog::fmt | |
| back | clutchlog::fmt | |
| bg enum name | clutchlog::fmt | |
| fg enum name | clutchlog::fmt | |
| fmt() | clutchlog::fmt | inline |
| fmt(bg b, typo s, fg f=fg::none) (defined in clutchlog::fmt) | clutchlog::fmt | inline |
| fmt(typo s, fg f=fg::none, bg b=bg::none) (defined in clutchlog::fmt) | clutchlog::fmt | inline |
| fmt(typo s, bg b, fg f=fg::none) (defined in clutchlog::fmt) | clutchlog::fmt | inline |
| fore (defined in clutchlog::fmt) | clutchlog::fmt | |
| fore | clutchlog::fmt | |
| operator()(const std::string &msg) const | clutchlog::fmt | inline |
| operator<<(std::ostream &os, const fmt &fmt) | clutchlog::fmt | friend |
| print_on(std::ostream &os) const | clutchlog::fmt | inlineprotected |
| style (defined in clutchlog::fmt) | clutchlog::fmt | |
| style | clutchlog::fmt | |
| typo enum name | clutchlog::fmt |
diff --git a/docs/clutchlog_8h.html b/docs/clutchlog_8h.html index 0c4820d..e583018 100644 --- a/docs/clutchlog_8h.html +++ b/docs/clutchlog_8h.html @@ -120,7 +120,8 @@ Classes | |
Macros | |
| -#define | CLUTCHLOG_HAVE_UNIX_SYSINFO 0 | CLUTCHLOG_HAVE_UNIX_SYSINFO 0 | +
| POSIX headers necessary for stack depth management are available. | |
| #define | WITH_CLUTCHLOG |
| #define | CLUTCHLOG_DEFAULT_FORMAT "{level_letter} {msg}\t\t\t\t\t{func} @ {file}:{line}\n" |
| Default format of the messages. | |
| Compile-time default format of the messages. | |
| #define | CLUTCHDUMP_DEFAULT_FORMAT "# {level} in {func} @ {file}:{line}" |
| Default format of the comment line in file dump. | |
| Compile-time default format of the comment line in file dump. | |
| #define | CLUTCHDUMP_DEFAULT_SEP "\n" |
| Default item separator for dump. | |
| Compile-time default item separator for dump. | |
| #define | CLUTCHLOG_DEFAULT_DEPTH_MARK ">" |
| Default mark for stack depth. | |
| Compile-time default mark for stack depth. | |
| #define | CLUTCHLOG_STRIP_CALLS 5 |
| Number of call stack levels to remove from depth display by default. | |
| Compile-time number of call stack levels to remove from depth display by default. | |
@@ -194,41 +194,56 @@ std::ostream & | std::string | clutchlog::fmt::operator() (const std::string &msg) const | ||
| Format the given string with the currently encoded format. More... | ||||
| + | clutchlog::scope_t::scope_t () | |||
| Constructor. | ||||
Variables | |
| -static std::string | clutchlog::default_format = CLUTCHLOG_DEFAULT_FORMAT | clutchlog::default_format = CLUTCHLOG_DEFAULT_FORMAT | +
| Default format of the messages. | |
| -static std::string | clutchlog::dump_default_format = CLUTCHDUMP_DEFAULT_FORMAT | clutchlog::dump_default_format = CLUTCHDUMP_DEFAULT_FORMAT | +
| Default format of the comment line in file dump. | |
| -static std::string | clutchlog::dump_default_sep = CLUTCHDUMP_DEFAULT_SEP | clutchlog::dump_default_sep = CLUTCHDUMP_DEFAULT_SEP | +
| Default item separator for dump. | |
| -static std::string | clutchlog::default_depth_mark = CLUTCHLOG_DEFAULT_DEPTH_MARK | clutchlog::default_depth_mark = CLUTCHLOG_DEFAULT_DEPTH_MARK | +
| Default mark for stack depth. | |
| -static unsigned int | clutchlog::strip_calls = CLUTCHLOG_STRIP_CALLS |
| +static unsigned int | clutchlog::default_strip_calls = CLUTCHLOG_STRIP_CALLS |
| Number of call stack levels to remove from depth display by default. | |
| -enum clutchlog::fmt::fg | clutchlog::fmt::fore | clutchlog::fmt::fore | +
| Foreground color. | |
| -enum clutchlog::fmt::bg | clutchlog::fmt::back | clutchlog::fmt::back | +
| Background color. | |
| -enum clutchlog::fmt::typo | clutchlog::fmt::style | clutchlog::fmt::style | +
| Typographic style. | |
| -bool | clutchlog::scope_t::matches | clutchlog::scope_t::matches | +
| Everything is compatible. | |
| -level | clutchlog::scope_t::stage | clutchlog::scope_t::stage | +
| Current log level. | |
| -bool | clutchlog::scope_t::there | clutchlog::scope_t::there | +
| Location is compatible. | |
@@ -260,41 +275,49 @@ High-level API | |
Internal details | |
| -const size_t | clutchlog::_strip_calls | clutchlog::_strip_calls | +
| Current number of call stack levels to remove from depth display. | |
| -const std::map< level, std::string > | clutchlog::_level_word | clutchlog::_level_word | +
| Dictionary of level identifier to their string representation. | |
| -std::map< std::string, level > | clutchlog::_word_level | clutchlog::_word_level | +
| Dictionary of level string to their identifier. | |
| -std::map< level, fmt > | clutchlog::_level_fmt | clutchlog::_level_fmt | +
| Dictionary of level identifier to their format. | |
| -std::string | clutchlog::_format_log | clutchlog::_format_log | +
| Current format of the standard output. | |
| -std::string | clutchlog::_format_dump | clutchlog::_format_dump | +
| Current format of the file output. | |
| -std::ostream * | clutchlog::_out | clutchlog::_out | +
| Standard output. | |
| -level | clutchlog::_stage | clutchlog::_stage | +
| Current log level. | |
| -std::regex | clutchlog::_in_file | clutchlog::_in_file | +
| Current file location filter. | |
| -std::regex | clutchlog::_in_func | clutchlog::_in_func | +
| Current function location filter. | |
| -std::regex | clutchlog::_in_line | clutchlog::_in_line | +
| Current line location filter. | |
| -static const size_t | clutchlog::max_buffer = 4096 |
| clutchlog::clutchlog (clutchlog const &)=delete | |
| template<class In > | |
| void | clutchlog::dump (const level &stage, const In container_begin, const In container_end, const std::string &file, const std::string &func, size_t line, const std::string &filename_template="dump_{n}.dat", const std::string sep=dump_default_sep) const |
| void | clutchlog::dump (const level &stage, const In container_begin, const In container_end, const std::string &file, const std::string &func, size_t line, const std::string &filename_template="dump_{n}.dat", const std::string sep=dump_default_sep) const |
| Dump a serializable container after a comment line with log information. | |