diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d2be5f..90fce70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
project("clutchlog"
- VERSION 0.11.1
+ VERSION 0.12
DESCRIPTION "A logging system which targets versatile debugging")
enable_language(CXX) # C++
diff --git a/docs/annotated.html b/docs/annotated.html
index a0df3f9..6ccc27a 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -28,7 +28,7 @@
|
@@ -346,7 +350,7 @@ void operator= (Get the logger instance.
- Definition at line 291 of file clutchlog.h.
+Definition at line 296 of file clutchlog.h.
@@ -377,11 +381,11 @@ void | operator= (Return the log level tag corresponding to the given pre-configured name.
- Note
- This is case sensitive, see the pre-configured
_level_word.
-Definition at line 606 of file clutchlog.h.
+Definition at line 618 of file clutchlog.h.
-References _word_level.
+References _word_level.
-Referenced by threshold().
+Referenced by threshold().
@@ -424,11 +428,11 @@ template<class ... FMT>
Set the style (color and typo) of the given log level.
This version accept style arguments as if they were passed to clutchlog::fmt.
-Definition at line 640 of file clutchlog.h.
+Definition at line 652 of file clutchlog.h.
-References style().
+References style().
-Referenced by style().
+Referenced by style().
@@ -476,9 +480,9 @@ template<class ... FMT>
log.replace( "{greet} {world}", "\\{greet\\}", "hello");
-Definition at line 729 of file clutchlog.h.
+Definition at line 741 of file clutchlog.h.
-Referenced by dump(), format(), and replace().
+Referenced by dump(), format(), and replace().
@@ -487,8 +491,8 @@ template<class ... FMT>
-void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const Print a log message IF the location matches the given one.
-static clutchlog & logger() Get the logger instance.
+void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const Print a log message IF the location matches the given one.
+static clutchlog & logger() Get the logger instance.
diff --git a/docs/classclutchlog.js b/docs/classclutchlog.js
index fa191d7..fa467b4 100644
--- a/docs/classclutchlog.js
+++ b/docs/classclutchlog.js
@@ -36,6 +36,7 @@ var classclutchlog =
[ "default_strip_calls", "classclutchlog.html#a1a8cb6411726133208f5a2f2cb42d468", null ],
[ "default_hfill_char", "classclutchlog.html#a76eb34537b634aadb75e255f7887eeb6", null ],
[ "default_hfill_max", "classclutchlog.html#ac95630bfe9cf547d2b7c4b3430eaedc1", null ],
+ [ "default_hfill_min", "classclutchlog.html#a5a9a98c3528117223ceff22bc6bee5f7", null ],
[ "_strip_calls", "classclutchlog.html#a356df86455409193792b6ed550dfd09e", null ],
[ "_level_word", "classclutchlog.html#ab1c377a376e6772fe1746ff7147c125f", null ],
[ "_word_level", "classclutchlog.html#abd4625bf211bfbaa30d9c126fa3d7888", null ],
diff --git a/docs/classclutchlog_1_1fmt-members.html b/docs/classclutchlog_1_1fmt-members.html
index 76be3c1..9756774 100644
--- a/docs/classclutchlog_1_1fmt-members.html
+++ b/docs/classclutchlog_1_1fmt-members.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/classclutchlog_1_1fmt.html b/docs/classclutchlog_1_1fmt.html
index 4fc7db5..fe445ce 100644
--- a/docs/classclutchlog_1_1fmt.html
+++ b/docs/classclutchlog_1_1fmt.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -104,7 +104,7 @@ $(document).ready(function(){initNavTree('classclutchlog_1_1fmt.html',''); initR
Color and style formatter for ANSI terminal escape sequences.
- Note
- All styles may not be supported by a given terminal/operating system.
- Definition at line 309 of file clutchlog.h.
+ Definition at line 314 of file clutchlog.h.
|
@@ -243,9 +243,9 @@ Friends
std::cout << error("ERROR") << std::endl;
- Note
- A formatter called this way WILL output a reset escape code at the end.
-Definition at line 406 of file clutchlog.h.
+Definition at line 411 of file clutchlog.h.
-References print_on().
+References print_on().
@@ -290,7 +290,7 @@ Friends
std::cout << error << "ERROR" << end << std::endl;
- Note
- An formatter called this way will NOT output a reset escape code.
-Definition at line 391 of file clutchlog.h.
+Definition at line 396 of file clutchlog.h.
@@ -299,7 +299,7 @@ Friends
-Color and style formatter for ANSI terminal escape sequences.
+Color and style formatter for ANSI terminal escape sequences.
diff --git a/docs/classes.html b/docs/classes.html
index bb0806b..f0d92a6 100644
--- a/docs/classes.html
+++ b/docs/classes.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/clutchlog_8h.html b/docs/clutchlog_8h.html
index fe514a5..cef3212 100644
--- a/docs/clutchlog_8h.html
+++ b/docs/clutchlog_8h.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -190,10 +190,10 @@ Macros
#define CLUTCHLOG_STRIP_CALLS 5 |
| | Compile-time number of call stack levels to remove from depth display by default.
|
| |
-|
-#define | CLUTCHLOG_HFILL_MARK '.' |
-| | Character used as a filling for right-align the right part of messages with "{hfill}".
|
-| |
+|
+#define | CLUTCHLOG_DEFAULT_HFILL_MARK '.' |
+| | Character used as a filling for right-align the right part of messages with "{hfill}".
|
+| |
diff --git a/docs/clutchlog_8h.js b/docs/clutchlog_8h.js
index fdaabbb..05cb530 100644
--- a/docs/clutchlog_8h.js
+++ b/docs/clutchlog_8h.js
@@ -16,5 +16,5 @@ var clutchlog_8h =
[ "CLUTCHDUMP_DEFAULT_SEP", "group___default_config.html#ga54d29e956575e1c731eab5406135c5df", null ],
[ "CLUTCHLOG_DEFAULT_DEPTH_MARK", "group___default_config.html#ga45c4c964fad4ad1641d5c9c28c4645b9", null ],
[ "CLUTCHLOG_STRIP_CALLS", "group___default_config.html#ga98f30d814d4913a8a7c93a8793f49adf", null ],
- [ "CLUTCHLOG_HFILL_MARK", "group___default_config.html#gad5fbbacf74b8e4669b8f9efdfe81bd25", null ]
+ [ "CLUTCHLOG_DEFAULT_HFILL_MARK", "group___default_config.html#ga4eda0c1bfded5df89351b8ce8b9c2805", null ]
];
\ No newline at end of file
diff --git a/docs/clutchlog_8h_source.html b/docs/clutchlog_8h_source.html
index 72c011a..a58c8ef 100644
--- a/docs/clutchlog_8h_source.html
+++ b/docs/clutchlog_8h_source.html
@@ -28,7 +28,7 @@
|  |
clutchlog
- 0.11.1
+ 0.12
|
@@ -301,800 +301,811 @@ $(document).ready(function(){initNavTree('clutchlog_8h_source.html',''); initRes
254 #endif // CLUTCHLOG_STRIP_CALLS
- 258 #ifndef CLUTCHLOG_HFILL_MARK
- 259 #define CLUTCHLOG_HFILL_MARK '.'
- 261 #endif // CLUTCHLOG_HFILL_MARK
-
+ 258 #ifndef CLUTCHLOG_DEFAULT_HFILL_MARK
+ 259 #define CLUTCHLOG_DEFAULT_HFILL_MARK '.'
+ 261 #endif // CLUTCHLOG_DEFAULT_HFILL_MARK
+
266 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL == 1
- 267 #ifndef CLUTCHLOG_HFILL_MAX
- 268 #define CLUTCHLOG_HFILL_MAX 300
+ 267 #ifndef CLUTCHLOG_DEFAULT_HFILL_MAX
+ 268 #define CLUTCHLOG_DEFAULT_HFILL_MAX 300
-
-
-
-
-
-
-
+ 270 #ifndef CLUTCHLOG_DEFAULT_HFILL_MIN
+ 271 #define CLUTCHLOG_DEFAULT_HFILL_MIN 150
+
+
+
+
-
-
-
-
-
-
-
-
-
- 298 enum level {critical=0, error=1, warning=2, progress=3, note=4, info=5, debug=6, xdebug=7};
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 363 std::vector<int> codes; codes.reserve(3);
- 364 if(this->
fore != fg::none) { codes.push_back(
static_cast<int>(this->
fore ));}
- 365 if(this->
back != bg::none) { codes.push_back(
static_cast<int>(this->
back ));}
- 366 if(this->
style != typo::none) { codes.push_back(
static_cast<int>(this->
style));}
- 367 if(codes.size() == 0) {
return os;}
-
-
- 370 assert(codes.size() > 0);
-
- 372 for(
size_t i=1; i < codes.size(); ++i) {
- 373 os <<
";" << codes[i];
-
-
-
-
-
-
-
-
-
-
-
-
-
- 408 std::ostringstream os;
-
- 410 fmt reset(fmt::typo::reset);
-
-
-
-
-
-
-
- 420 std::ostringstream os;
-
-
-
-
-
-
-
- 433 void operator=(
clutchlog const&) =
delete;
-
-
-
-
-
-
- 440 {level::critical,
"Critical"},
- 441 {level::error ,
"Error"},
- 442 {level::warning ,
"Warning"},
- 443 {level::progress,
"Progress"},
- 444 {level::note ,
"Note"},
- 445 {level::info ,
"Info"},
- 446 {level::debug ,
"Debug"},
- 447 {level::xdebug ,
"XDebug"}
-
-
- 450 {level::critical,fmt(fmt::fg::red, fmt::typo::underline)},
- 451 {level::error ,fmt(fmt::fg::red, fmt::typo::bold)},
- 452 {level::warning ,fmt(fmt::fg::magenta, fmt::typo::bold)},
- 453 {level::progress,fmt()},
- 454 {level::note ,fmt()},
- 455 {level::info ,fmt()},
- 456 {level::debug ,fmt()},
- 457 {level::xdebug ,fmt()}
-
-
-
- 461 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
-
- 463 _hfill_fmt(fmt::fg::none),
-
-
-
- 467 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
- 468 _depth(std::numeric_limits<size_t>::max() -
_strip_calls),
-
-
-
-
-
-
-
-
-
-
-
- 480 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
-
- 482 ioctl(STDERR_FILENO, TIOCGWINSZ, &w);
-
-
-
-
-
-
-
-
-
-
-
- 500 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
-
-
-
-
-
-
-
- 510 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
-
- 514 std::string _depth_mark;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 303 enum level {critical=0, error=1, warning=2, progress=3, note=4, info=5, debug=6, xdebug=7};
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 368 std::vector<int> codes; codes.reserve(3);
+ 369 if(this->
fore != fg::none) { codes.push_back(
static_cast<int>(this->
fore ));}
+ 370 if(this->
back != bg::none) { codes.push_back(
static_cast<int>(this->
back ));}
+ 371 if(this->
style != typo::none) { codes.push_back(
static_cast<int>(this->
style));}
+ 372 if(codes.size() == 0) {
return os;}
+
+
+ 375 assert(codes.size() > 0);
+
+ 377 for(
size_t i=1; i < codes.size(); ++i) {
+ 378 os <<
";" << codes[i];
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 413 std::ostringstream os;
+
+ 415 fmt reset(fmt::typo::reset);
+
+
+
+
+
+
+
+ 425 std::ostringstream os;
+
+
+
+
+
+
+
+ 438 void operator=(
clutchlog const&) =
delete;
+
+
+
+
+
+
+ 445 {level::critical,
"Critical"},
+ 446 {level::error ,
"Error"},
+ 447 {level::warning ,
"Warning"},
+ 448 {level::progress,
"Progress"},
+ 449 {level::note ,
"Note"},
+ 450 {level::info ,
"Info"},
+ 451 {level::debug ,
"Debug"},
+ 452 {level::xdebug ,
"XDebug"}
+
+
+ 455 {level::critical,fmt(fmt::fg::red, fmt::typo::underline)},
+ 456 {level::error ,fmt(fmt::fg::red, fmt::typo::bold)},
+ 457 {level::warning ,fmt(fmt::fg::magenta, fmt::typo::bold)},
+ 458 {level::progress,fmt()},
+ 459 {level::note ,fmt()},
+ 460 {level::info ,fmt()},
+ 461 {level::debug ,fmt()},
+ 462 {level::xdebug ,fmt()}
+
+
+
+ 466 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
+
+ 468 _hfill_fmt(fmt::fg::none),
+
+
+
+
+ 473 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+ 474 _depth(std::numeric_limits<size_t>::max() -
_strip_calls),
+
+
+
+
+
+
+
+
+
+
+
+ 486 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
+
+ 488 ioctl(STDERR_FILENO, TIOCGWINSZ, &w);
+
+
+
+
+
+
+
+
+
+
+
+ 506 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
+
+
+
+
+
-
-
-
-
+
+ 518 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+
+
+ 522 std::string _depth_mark;
+
- 525 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
- 527 static const size_t _max_buffer = 4096;
-
-
- 530 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
-
-
-
+
+
+
+
+
+ 533 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
+ 535 static const size_t _max_buffer = 4096;
+
-
-
+ 538 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
+
+
+
+
+
-
-
-
-
-
-
- 556 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
- 557 void depth(
size_t d) {_depth = d;}
- 560 size_t depth()
const {
return _depth;}
-
- 563 void depth_mark(
const std::string mark) {_depth_mark = mark;}
- 565 std::string depth_mark()
const {
return _depth_mark;}
-
-
-
-
- 572 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL == 1
- 573 void hfill_mark(
const char mark) {_hfill_char = mark;}
- 576 char hfill_mark()
const {
return _hfill_char;}
- 578 void hfill_style(fmt
style) {_hfill_fmt =
style;}
- 583 template<
class ... FMT>
- 584 void hfill_style(FMT... styles) { this->hfill_style(fmt(styles...)); }
- 586 fmt hfill_style()
const {
return _hfill_fmt;}
- 588 void hfill_max(
const size_t nmax) {_hfill_max = nmax;}
- 590 size_t hfill_max() {
return _hfill_max;}
-
-
-
-
-
-
-
-
-
-
-
- 610 return ilevel->second;
-
- 612 throw std::out_of_range(
"'" + name +
"' is not a valid log level name");
-
-
-
-
-
-
-
-
- 625 const std::string& in_file,
- 626 const std::string& in_function=
".*",
- 627 const std::string& in_line=
".*"
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 564 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+ 565 void depth(
size_t d) {_depth = d;}
+ 568 size_t depth()
const {
return _depth;}
+
+ 571 void depth_mark(
const std::string mark) {_depth_mark = mark;}
+ 573 std::string depth_mark()
const {
return _depth_mark;}
+
+
+
+
+ 580 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL == 1
+ 581 void hfill_mark(
const char mark) {_hfill_char = mark;}
+ 584 char hfill_mark()
const {
return _hfill_char;}
+ 586 void hfill_style(fmt
style) {_hfill_fmt =
style;}
+ 591 template<
class ... FMT>
+ 592 void hfill_style(FMT... styles) { this->hfill_style(fmt(styles...)); }
+ 594 fmt hfill_style()
const {
return _hfill_fmt;}
+ 596 void hfill_max(
const size_t nmax) {_hfill_max = nmax;}
+ 598 size_t hfill_max() {
return _hfill_max;}
+ 600 void hfill_min(
const size_t nmin) {_hfill_min = nmin;}
+ 602 size_t hfill_min() {
return _hfill_min;}
+
+
+
+
+
+
+
+
+
+
+
+ 622 return ilevel->second;
+
+ 624 throw std::out_of_range(
"'" + name +
"' is not a valid log level name");
+
+
+
+
+
+
- 639 template<
class ... FMT>
-
-
-
-
-
-
-
-
-
- 659 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 637 const std::string& in_file,
+ 638 const std::string& in_function=
".*",
+ 639 const std::string& in_line=
".*"
+
+
+
+
+
+
+
+ 651 template<
class ... FMT>
+
+
+
+
+
+
+
+
+
+ 671 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+
+
+
-
-
-
- 680 const std::string&
file,
- 681 const std::string&
func,
-
-
-
-
-
-
-
-
- 690 if(not (scope.stage <=
_stage)) {
-
-
-
-
- 695 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
-
-
- 699 void *buffer[_max_buffer];
- 700 stack_depth = backtrace(buffer, _max_buffer);
- 701 scope.depth = stack_depth;
-
-
-
-
-
-
-
-
- 710 std::ostringstream sline; sline <<
line;
-
-
-
- 714 and std::regex_search(sline.str(),
_in_line);
-
-
- 717 scope.matches = scope.there;
-
-
-
-
-
- 730 const std::string& form,
- 731 const std::string& mark,
- 732 const std::string& tag
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 692 const std::string&
file,
+ 693 const std::string&
func,
+
+
+
+
+
+
+
+
+ 702 if(not (scope.stage <=
_stage)) {
+
+
+
+
+ 707 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+
+
+
+ 711 void *buffer[_max_buffer];
+ 712 stack_depth = backtrace(buffer, _max_buffer);
+ 713 scope.depth = stack_depth;
+
+
+
+
+
+
+
+
+ 722 std::ostringstream sline; sline <<
line;
+
+
+
+ 726 and std::regex_search(sline.str(),
_in_line);
+
+
+ 729 scope.matches = scope.there;
+
+
+
+
+
+ 742 const std::string& form,
+ 743 const std::string& mark,
+ 744 const std::string& tag
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
- 789 const std::regex re(mark);
- 790 return std::regex_replace(form, re, tag);
-
-
-
- 795 const std::string& form,
- 796 const std::string& mark,
-
-
-
- 800 std::ostringstream stag; stag << tag;
- 801 return replace(form, mark, stag.str());
-
-
-
-
- 807 const std::string& what,
-
- 809 const std::string& name,
-
-
- 812 const std::string&
file,
- 813 const std::string&
func,
-
-
-
-
-
-
-
- 821 row =
replace(row,
"\\{msg\\}", what);
-
-
-
-
-
- 827 std::string letter(1,
_level_word.at(stage).at(0));
- 828 row =
replace(row,
"\\{level_letter\\}", letter);
-
- 830 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
- 831 row =
replace(row,
"\\{name\\}", name);
-
-
- 834 std::ostringstream chevrons;
-
- 836 chevrons << _depth_mark;
-
- 838 row =
replace(row,
"\\{depth_marks\\}", chevrons.str());
-
-
-
-
- 843 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
-
- 845 const std::string raw_row =
replace(row,
"\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]",
"");
- 846 const std::string hfill_tag =
"{hfill}";
- 847 const size_t hfill_pos = row.find(hfill_tag);
- 848 const size_t raw_hfill_pos = raw_row.find(hfill_tag);
- 849 const size_t nb_columns = std::min(_nb_columns, _hfill_max);
- 850 if(hfill_pos != std::string::npos) {
- 851 assert(raw_hfill_pos != std::string::npos);
-
- 853 const size_t left_len = raw_hfill_pos;
- 854 const size_t right_len = raw_row.size() - raw_hfill_pos - hfill_tag.size();
- 855 if(right_len+left_len > nb_columns) {
-
- 857 if(right_len < nb_columns) {
-
- 859 const std::string hfill(std::max((
size_t)0, nb_columns-right_len), _hfill_char);
- 860 const std::string hfill_styled = _hfill_fmt(hfill);
- 861 row =
replace(row,
"\\{hfill\\}",
"\n"+hfill_styled);
-
-
- 864 const std::string hfill(1, _hfill_char);
- 865 const std::string hfill_styled = _hfill_fmt(hfill);
- 866 row =
replace(row,
"\\{hfill\\}",
"\n"+hfill_styled);
-
-
-
- 870 const std::string hfill(std::max((
size_t)0, nb_columns - (right_len+left_len)), _hfill_char);
- 871 const std::string hfill_styled = _hfill_fmt(hfill);
- 872 row =
replace(row,
"\\{hfill\\}", hfill_styled);
-
-
-
- 876 const std::string hfill(1, _hfill_char);
- 877 const std::string hfill_styled = _hfill_fmt(hfill);
- 878 row =
replace(row,
"\\{hfill\\}", hfill_styled);
-
-
-
-
- 883 const std::string hfill(1, _hfill_char);
- 884 const std::string hfill_styled = _hfill_fmt(hfill);
- 885 row =
replace(row,
"\\{hfill\\}", hfill_styled);
-
-
-
-
-
-
- 893 const std::string& what,
- 894 const std::string&
file,
const std::string&
func,
size_t line
-
-
-
-
-
- 900 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 918 const In container_begin,
const In container_end,
- 919 const std::string&
file,
const std::string&
func,
size_t line,
- 920 const std::string& filename_template =
"dump_{n}.dat",
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 801 const std::regex re(mark);
+ 802 return std::regex_replace(form, re, tag);
+
+
+
+ 807 const std::string& form,
+ 808 const std::string& mark,
+
+
+
+ 812 std::ostringstream stag; stag << tag;
+ 813 return replace(form, mark, stag.str());
+
+
+
+
+ 819 const std::string& what,
+
+ 821 const std::string& name,
+
+
+ 824 const std::string&
file,
+ 825 const std::string&
func,
+
+
+
+
+
+
+
+ 833 row =
replace(row,
"\\{msg\\}", what);
+
+
+
+
+
+ 839 std::string letter(1,
_level_word.at(stage).at(0));
+ 840 row =
replace(row,
"\\{level_letter\\}", letter);
+
+ 842 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+ 843 row =
replace(row,
"\\{name\\}", name);
+
+
+ 846 std::ostringstream chevrons;
+
+ 848 chevrons << _depth_mark;
+
+ 850 row =
replace(row,
"\\{depth_marks\\}", chevrons.str());
+
+
+
+
+ 855 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL
+
+ 857 const std::string raw_row =
replace(row,
"\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]",
"");
+ 858 const std::string hfill_tag =
"{hfill}";
+ 859 const size_t hfill_pos = row.find(hfill_tag);
+ 860 const size_t raw_hfill_pos = raw_row.find(hfill_tag);
+ 861 const size_t nb_columns = std::max(std::min((
size_t)_nb_columns, _hfill_max), _hfill_min);
+ 862 if(hfill_pos != std::string::npos) {
+ 863 assert(raw_hfill_pos != std::string::npos);
+
+ 865 const size_t left_len = raw_hfill_pos;
+ 866 const size_t right_len = raw_row.size() - raw_hfill_pos - hfill_tag.size();
+ 867 if(right_len+left_len > nb_columns) {
+
+ 869 if(right_len < nb_columns) {
+
+ 871 const std::string hfill(std::max((
size_t)0, nb_columns-right_len), _hfill_char);
+ 872 const std::string hfill_styled = _hfill_fmt(hfill);
+ 873 row =
replace(row,
"\\{hfill\\}",
"\n"+hfill_styled);
+
+
+ 876 const std::string hfill(1, _hfill_char);
+ 877 const std::string hfill_styled = _hfill_fmt(hfill);
+ 878 row =
replace(row,
"\\{hfill\\}",
"\n"+hfill_styled);
+
+
+
+ 882 const std::string hfill(std::max((
size_t)0, nb_columns - (right_len+left_len)), _hfill_char);
+ 883 const std::string hfill_styled = _hfill_fmt(hfill);
+ 884 row =
replace(row,
"\\{hfill\\}", hfill_styled);
+
+
+
+ 888 const std::string hfill(1, _hfill_char);
+ 889 const std::string hfill_styled = _hfill_fmt(hfill);
+ 890 row =
replace(row,
"\\{hfill\\}", hfill_styled);
+
+
+
+
+ 895 const std::string hfill(1, _hfill_char);
+ 896 const std::string hfill_styled = _hfill_fmt(hfill);
+ 897 row =
replace(row,
"\\{hfill\\}", hfill_styled);
+
+
+
+
+
+
+ 905 const std::string& what,
+ 906 const std::string&
file,
const std::string&
func,
size_t line
+
+
+
+
+
+ 912 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+
+
+
+
+
+
+
+
+
+
+
+
-
- 927 const std::string tag =
"\\{n\\}";
- 928 const std::regex re(tag);
- 929 std::string outfile =
"";
-
-
- 932 if(std::regex_search(filename_template, re)) {
-
-
-
- 936 outfile =
replace(filename_template, tag, n);
-
- 938 }
while( fs::exists( outfile ) );
-
-
-
- 942 outfile = filename_template;
-
-
- 945 std::ofstream fd(outfile);
-
-
- 948 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
-
-
-
-
-
-
-
-
-
-
-
- 960 std::copy(container_begin, container_end,
- 961 std::ostream_iterator<typename In::value_type>(fd, sep.c_str()));
-
-
-
-
-
-
-
- 972 #else // not WITH_CLUTCHLOG
-
+
+
+
+ 930 const In container_begin,
const In container_end,
+ 931 const std::string&
file,
const std::string&
func,
size_t line,
+ 932 const std::string& filename_template =
"dump_{n}.dat",
+
+
+
+
+
+
+ 939 const std::string tag =
"\\{n\\}";
+ 940 const std::regex re(tag);
+ 941 std::string outfile =
"";
+
+
+ 944 if(std::regex_search(filename_template, re)) {
+
+
+
+ 948 outfile =
replace(filename_template, tag, n);
+
+ 950 }
while( fs::exists( outfile ) );
+
+
+
+ 954 outfile = filename_template;
+
+
+ 957 std::ofstream fd(outfile);
+
+
+ 960 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+
+
+
+
+
+
+
+
+
+
+
+ 972 std::copy(container_begin, container_end,
+ 973 std::ostream_iterator<typename In::value_type>(fd, sep.c_str()));
-
-
-
+
+
+
-
-
- 981 #pragma GCC diagnostic push
- 982 #pragma GCC diagnostic ignored "-Wreturn-type"
-
-
-
-
- 987 enum level {critical=0, error=1, warning=2, progress=3, note=4, info=5, debug=6, xdebug=7};
-
-
- 990 enum class fg { black, red, green, yellow, blue, magenta, cyan, white, none }
fore;
- 991 enum class bg { black, red, green, yellow, blue, magenta, cyan, white, none }
back;
- 992 enum class typo { reset, bold, underline, inverse, none }
style;
-
-
-
-
-
-
-
-
- 1001 std::ostream&
print_on(std::ostream&)
const {}
-
- 1003 friend std::ostream&
operator<<(std::ostream&,
const fmt&) {}
- 1004 std::string
operator()(
const std::string&)
const {}
-
-
-
- 1008 void operator=(
clutchlog const&) =
delete;
-
-
-
-
-
-
-
-
-
-
-
-
- 1021 void format(
const std::string&) {}
- 1022 std::string
format()
const {}
-
-
-
-
- 1027 void out(std::ostream&) {}
- 1028 std::ostream&
out() {}
-
- 1030 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
- 1031 void depth(
size_t) {}
- 1032 size_t depth()
const {}
-
- 1034 void depth_mark(
const std::string) {}
- 1035 std::string depth_mark()
const {}
- 1036 void strip_calls(
const size_t) {}
- 1037 size_t strip_calls()
const {}
-
- 1039 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL == 1
- 1040 void hfill_mark(
const char) {}
- 1041 char hfill_mark()
const {}
- 1042 void hfill_fmt(fmt) {}
- 1043 fmt hfill_fmt()
const {}
- 1044 void hfill_max(
const size_t) {}
- 1045 size_t hfill_max() {}
-
-
-
-
-
- 1051 const std::map<std::string,level>
levels()
const {}
-
-
- 1054 void file(std::string) {}
- 1055 void func(std::string) {}
- 1056 void line(std::string) {}
-
- 1058 #pragma GCC diagnostic push
- 1059 #pragma GCC diagnostic ignored "-Wunused-parameter"
-
-
- 1062 const std::string& in_function=
".*",
- 1063 const std::string& in_line=
".*"
-
-
- 1066 #pragma GCC diagnostic pop
- 1067 template<
class ... FMT>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 984 #else // not WITH_CLUTCHLOG
+
+
+
+
+
+
+
+
+ 993 #pragma GCC diagnostic push
+ 994 #pragma GCC diagnostic ignored "-Wreturn-type"
+
+
+
+
+ 999 enum level {critical=0, error=1, warning=2, progress=3, note=4, info=5, debug=6, xdebug=7};
+
+
+ 1002 enum class fg { black, red, green, yellow, blue, magenta, cyan, white, none }
fore;
+ 1003 enum class bg { black, red, green, yellow, blue, magenta, cyan, white, none }
back;
+ 1004 enum class typo { reset, bold, underline, inverse, none }
style;
+
+
+
+
+
+
+
+
+ 1013 std::ostream&
print_on(std::ostream&)
const {}
+
+ 1015 friend std::ostream&
operator<<(std::ostream&,
const fmt&) {}
+ 1016 std::string
operator()(
const std::string&)
const {}
+
+
+
+ 1020 void operator=(
clutchlog const&) =
delete;
+
+
+
+
+
+
+
+
+
+
+
+
+ 1033 void format(
const std::string&) {}
+ 1034 std::string
format()
const {}
+
+
+
+
+ 1039 void out(std::ostream&) {}
+ 1040 std::ostream&
out() {}
+
+ 1042 #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1
+ 1043 void depth(
size_t) {}
+ 1044 size_t depth()
const {}
+
+ 1046 void depth_mark(
const std::string) {}
+ 1047 std::string depth_mark()
const {}
+ 1048 void strip_calls(
const size_t) {}
+ 1049 size_t strip_calls()
const {}
+
+ 1051 #if CLUTCHLOG_HAVE_UNIX_SYSIOCTL == 1
+ 1052 void hfill_mark(
const char) {}
+ 1053 char hfill_mark()
const {}
+ 1054 void hfill_fmt(fmt) {}
+ 1055 fmt hfill_fmt()
const {}
+ 1056 void hfill_min(
const size_t) {}
+ 1057 size_t hfill_min() {}
+ 1058 void hfill_max(
const size_t) {}
+ 1059 size_t hfill_max() {}
+
+
+
+
+
+ 1065 const std::map<std::string,level>
levels()
const {}
+
+
+ 1068 void file(std::string) {}
+ 1069 void func(std::string) {}
+ 1070 void line(std::string) {}
+
+ 1072 #pragma GCC diagnostic push
+ 1073 #pragma GCC diagnostic ignored "-Wunused-parameter"
+
+
+ 1076 const std::string& in_function=
".*",
+ 1077 const std::string& in_line=
".*"
+
+
+ 1080 #pragma GCC diagnostic pop
+ 1081 template<
class ... FMT>
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- 1106 const std::string&,
const std::string&,
size_t
-
-
-
-
-
-
-
- 1114 const std::string&,
const std::string&,
size_t,
-
-
-
-
-
- 1120 #pragma GCC diagnostic pop
- 1121 #endif // WITH_CLUTCHLOG
-
- 1123 #endif // CLUTCHLOG_H
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1120 const std::string&,
const std::string&,
size_t
+
+
+
+
+
+
+
+ 1128 const std::string&,
const std::string&,
size_t,
+
+
+
+
+
+ 1134 #pragma GCC diagnostic pop
+ 1135 #endif // WITH_CLUTCHLOG
+
+ 1137 #endif // CLUTCHLOG_H
static std::string default_depth_mark
Default mark for stack depth.
-std::string _format_log
Current format of the standard output.
-std::map< level, fmt > _level_fmt
Dictionary of level identifier to their format.
-void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const
Print a log message IF the location matches the given one.
-std::string str() const
Return the formatting code as a string.
-void line(std::string line)
Set the regular expression filtering the line location.
+std::string _format_log
Current format of the standard output.
+std::map< level, fmt > _level_fmt
Dictionary of level identifier to their format.
+void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const
Print a log message IF the location matches the given one.
+std::string str() const
Return the formatting code as a string.
+void line(std::string line)
Set the regular expression filtering the line location.
static std::string dump_default_format
Default format of the comment line in file dump.
-void out(std::ostream &out)
Set the output stream on which to print.
+void out(std::ostream &out)
Set the output stream on which to print.
static std::string dump_default_sep
Default item separator for dump.
-std::string format(std::string row, const std::string &what, const level &stage, const std::string &file, const std::string &func, const size_t line) const
Substitute all tags in the format string with the corresponding information and apply the style corre...
+std::string format(std::string row, const std::string &what, const level &stage, const std::string &file, const std::string &func, const size_t line) const
Substitute all tags in the format string with the corresponding information and apply the style corre...
#define CLUTCHLOG_DEFAULT_DEPTH_MARK
Compile-time default mark for stack depth.
static unsigned int default_strip_calls
Number of call stack levels to remove from depth display by default.
-std::string replace(const std::string &form, const std::string &mark, const std::string &tag) const
Replace mark by tag in form.
+static size_t default_hfill_min
Default minimum width (number of characters) at which to fill for right-aligning the right part of me...
+std::string replace(const std::string &form, const std::string &mark, const std::string &tag) const
Replace mark by tag in form.
enum clutchlog::fmt::bg back
Background color.
-fg
Foreground color codes.
+fg
Foreground color codes.
enum clutchlog::fmt::fg fore
Foreground color.
static char default_hfill_char
Default character used as a filling for right-align the right part of messages with "{hfill}".
-bool matches
Everything is compatible.
+bool matches
Everything is compatible.
enum clutchlog::fmt::typo style
Typographic style.
-#define CLUTCHLOG_HFILL_MARK
Character used as a filling for right-align the right part of messages with "{hfill}".
-void format_comment(const std::string &format)
Set the template string for dumps.
-void file(std::string file)
Set the regular expression filtering the file location.
-scope_t locate(const level &stage, const std::string &file, const std::string &func, const size_t line) const
Gather information on the current location of the call.
-fmt()
 Empty constructor, only useful for a no-op formatter.
-void style(level stage, fmt style)
Set the style (color and typo) of the given log level, passing a fmt instance.
-void threshold(level l)
Set the log level (below which logs are not printed) with an identifier.
-level threshold() const
Get the log level below which logs are not printed.
-level
Available log levels.
-static size_t default_hfill_max
Default maximum number of character used as a filling for right-align the right part of messages with...
-
-std::regex _in_func
Current function location filter.
-bg
Background color codes.
+void format_comment(const std::string &format)
Set the template string for dumps.
+void file(std::string file)
Set the regular expression filtering the file location.
+scope_t locate(const level &stage, const std::string &file, const std::string &func, const size_t line) const
Gather information on the current location of the call.
+fmt()
 Empty constructor, only useful for a no-op formatter.
+void style(level stage, fmt style)
Set the style (color and typo) of the given log level, passing a fmt instance.
+void threshold(level l)
Set the log level (below which logs are not printed) with an identifier.
+level threshold() const
Get the log level below which logs are not printed.
+level
Available log levels.
+static size_t default_hfill_max
Default maximum width (number of characters) for which to fill for right-aligning the right part of m...
+
+std::regex _in_func
Current function location filter.
+bg
Background color codes.
static std::string default_format
Default format of the messages.
-static clutchlog & logger()
Get the logger instance.
-void 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.
-Color and style formatter for ANSI terminal escape sequences.
-void func(std::string func)
Set the regular expression filtering the function location.
-std::string format() const
Get the template string.
-std::regex _in_file
Current file location filter.
-void style(level stage, FMT... styles)
Set the style (color and typo) of the given log level.
-level level_of(const std::string name)
Return the log level tag corresponding to the given pre-configured name.
-const std::map< level, std::string > _level_word
Dictionary of level identifier to their string representation.
-std::string operator()(const std::string &msg) const
Format the given string with the currently encoded format.
+static clutchlog & logger()
Get the logger instance.
+void 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.
+Color and style formatter for ANSI terminal escape sequences.
+void func(std::string func)
Set the regular expression filtering the function location.
+std::string format() const
Get the template string.
+std::regex _in_file
Current file location filter.
+void style(level stage, FMT... styles)
Set the style (color and typo) of the given log level.
+level level_of(const std::string name)
Return the log level tag corresponding to the given pre-configured name.
+const std::map< level, std::string > _level_word
Dictionary of level identifier to their string representation.
+std::string operator()(const std::string &msg) const
Format the given string with the currently encoded format.
#define CLUTCHLOG_DEFAULT_FORMAT
Compile-time default format of the messages (debug mode: with absolute location).
-std::regex _in_line
Current line location filter.
-std::string replace(const std::string &form, const std::string &mark, const size_t tag) const
Replace mark by tag in form, converting tag to its string representation first.
-std::string format_comment() const
Get the template string for dumps.
-std::string _format_dump
Current format of the file output.
+std::regex _in_line
Current line location filter.
+std::string replace(const std::string &form, const std::string &mark, const size_t tag) const
Replace mark by tag in form, converting tag to its string representation first.
+std::string format_comment() const
Get the template string for dumps.
+std::string _format_dump
Current format of the file output.
#define CLUTCHDUMP_DEFAULT_SEP
Compile-time default item separator for dump.
-Structure holding a location matching.
-std::ostream & print_on(std::ostream &os) const
Print the currently encoded format escape code on the given output stream.
-std::ostream * _out
Standard output.
-std::ostream & out()
Get the output stream on which to print.
-void threshold(const std::string &l)
Set the log level (below which logs are not printed) with a string.
-const std::map< std::string, level > & levels() const
Get the map of available log levels string representations toward their identifier....
-size_t _strip_calls
Current number of call stack levels to remove from depth display.
-level stage
Current log level.
-bool there
Location is compatible.
+Structure holding a location matching.
+#define CLUTCHLOG_DEFAULT_HFILL_MARK
Character used as a filling for right-align the right part of messages with "{hfill}".
+std::ostream & print_on(std::ostream &os) const
Print the currently encoded format escape code on the given output stream.
+std::ostream * _out
Standard output.
+std::ostream & out()
Get the output stream on which to print.
+void threshold(const std::string &l)
Set the log level (below which logs are not printed) with a string.
+const std::map< std::string, level > & levels() const
Get the map of available log levels string representations toward their identifier....
+size_t _strip_calls
Current number of call stack levels to remove from depth display.
+level stage
Current log level.
+bool there
Location is compatible.
#define CLUTCHLOG_STRIP_CALLS
Compile-time number of call stack levels to remove from depth display by default.
-friend std::ostream & operator<<(std::ostream &os, const fmt &fmt)
Output stream overload.
-std::map< std::string, level > _word_level
Dictionary of level string to their identifier.
-level _stage
Current log level.
-fmt style(level stage) const
Get the configured fmt instance of the given log level.
-typo
Typographic style codes.
-void location(const std::string &in_file, const std::string &in_function=".*", const std::string &in_line=".*")
Set the regular expressions filtering the location.
+friend std::ostream & operator<<(std::ostream &os, const fmt &fmt)
Output stream overload.
+std::map< std::string, level > _word_level
Dictionary of level string to their identifier.
+level _stage
Current log level.
+fmt style(level stage) const
Get the configured fmt instance of the given log level.
+typo
Typographic style codes.
+void location(const std::string &in_file, const std::string &in_function=".*", const std::string &in_line=".*")
Set the regular expressions filtering the location.
#define CLUTCHLOG_HAVE_UNIX_SYSINFO
True if POSIX headers necessary for stack depth management are available.
The single class which holds everything.
#define CLUTCHDUMP_DEFAULT_FORMAT
Compile-time default format of the comment line in file dump.
diff --git a/docs/clutchlog_logo.png b/docs/clutchlog_logo.png
index 573d2d0..841a245 100644
Binary files a/docs/clutchlog_logo.png and b/docs/clutchlog_logo.png differ
diff --git a/docs/clutchlog_logo.svg b/docs/clutchlog_logo.svg
index 84b8e3f..f06c5e1 100644
--- a/docs/clutchlog_logo.svg
+++ b/docs/clutchlog_logo.svg
@@ -35,7 +35,7 @@
showgrid="false"
showguides="false"
inkscape:zoom="0.3724553"
- inkscape:cx="994.75025"
+ inkscape:cx="387.96602"
inkscape:cy="1388.086"
inkscape:current-layer="layer1">
v0.11
+ y="457.33154">v0.12
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/dir_59425e443f801f1f2fd8bbe4959a3ccf.html b/docs/dir_59425e443f801f1f2fd8bbe4959a3ccf.html
index 29361b9..37e51e0 100644
--- a/docs/dir_59425e443f801f1f2fd8bbe4959a3ccf.html
+++ b/docs/dir_59425e443f801f1f2fd8bbe4959a3ccf.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/dir_c318bd5cf14aaa5601e6029e0b5b4048.html b/docs/dir_c318bd5cf14aaa5601e6029e0b5b4048.html
index b03ed7e..5c58c79 100644
--- a/docs/dir_c318bd5cf14aaa5601e6029e0b5b4048.html
+++ b/docs/dir_c318bd5cf14aaa5601e6029e0b5b4048.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/files.html b/docs/files.html
index a3669aa..4f64eb8 100644
--- a/docs/files.html
+++ b/docs/files.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/functions.html b/docs/functions.html
index 0017432..1177343 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -146,6 +146,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
default_hfill_max
: clutchlog
+default_hfill_min
+: clutchlog
+
default_strip_calls
: clutchlog
diff --git a/docs/functions_enum.html b/docs/functions_enum.html
index 0c2b1c2..87885b9 100644
--- a/docs/functions_enum.html
+++ b/docs/functions_enum.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/functions_func.html b/docs/functions_func.html
index 1b200e4..957c09a 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/functions_rela.html b/docs/functions_rela.html
index 6cda834..ea7f4e0 100644
--- a/docs/functions_rela.html
+++ b/docs/functions_rela.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/functions_vars.html b/docs/functions_vars.html
index bbc3a4a..6248325 100644
--- a/docs/functions_vars.html
+++ b/docs/functions_vars.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -133,6 +133,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
default_hfill_max
: clutchlog
+default_hfill_min
+: clutchlog
+
default_strip_calls
: clutchlog
diff --git a/docs/globals.html b/docs/globals.html
index 3f13122..12bc633 100644
--- a/docs/globals.html
+++ b/docs/globals.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -115,6 +115,9 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
CLUTCHLOG_DEFAULT_FORMAT
: clutchlog.h
+CLUTCHLOG_DEFAULT_HFILL_MARK
+: clutchlog.h
+
CLUTCHLOG_H
: clutchlog.h
@@ -124,9 +127,6 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
CLUTCHLOG_HAVE_UNIX_SYSIOCTL
: clutchlog.h
-CLUTCHLOG_HFILL_MARK
-: clutchlog.h
-
CLUTCHLOG_STRIP_CALLS
: clutchlog.h
diff --git a/docs/globals_defs.html b/docs/globals_defs.html
index 3dd5e0c..0dce76c 100644
--- a/docs/globals_defs.html
+++ b/docs/globals_defs.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -115,6 +115,9 @@ $(document).ready(function(){initNavTree('globals_defs.html',''); initResizable(
CLUTCHLOG_DEFAULT_FORMAT
: clutchlog.h
+CLUTCHLOG_DEFAULT_HFILL_MARK
+: clutchlog.h
+
CLUTCHLOG_H
: clutchlog.h
@@ -124,9 +127,6 @@ $(document).ready(function(){initNavTree('globals_defs.html',''); initResizable(
CLUTCHLOG_HAVE_UNIX_SYSIOCTL
: clutchlog.h
-CLUTCHLOG_HFILL_MARK
-: clutchlog.h
-
CLUTCHLOG_STRIP_CALLS
: clutchlog.h
diff --git a/docs/graph_legend.html b/docs/graph_legend.html
index d3185fd..3a72dae 100644
--- a/docs/graph_legend.html
+++ b/docs/graph_legend.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
diff --git a/docs/group___default_config.html b/docs/group___default_config.html
index 5ae8637..61727bf 100644
--- a/docs/group___default_config.html
+++ b/docs/group___default_config.html
@@ -28,7 +28,7 @@
 |
clutchlog
- 0.11.1
+ 0.12
|
@@ -121,10 +121,10 @@ Default configuration members
#define CLUTCHLOG_STRIP_CALLS 5 |
| | Compile-time number of call stack levels to remove from depth display by default.
|
| |
-|
-#define | CLUTCHLOG_HFILL_MARK '.' |
-| | Character used as a filling for right-align the right part of messages with "{hfill}".
|
-| |
+|
+#define | CLUTCHLOG_DEFAULT_HFILL_MARK '.' |
+| | Character used as a filling for right-align the right part of messages with "{hfill}".
|
+| |
diff --git a/docs/group___default_config.js b/docs/group___default_config.js
index d8bdac4..3fc8618 100644
--- a/docs/group___default_config.js
+++ b/docs/group___default_config.js
@@ -6,5 +6,5 @@ var group___default_config =
[ "CLUTCHDUMP_DEFAULT_SEP", "group___default_config.html#ga54d29e956575e1c731eab5406135c5df", null ],
[ "CLUTCHLOG_DEFAULT_DEPTH_MARK", "group___default_config.html#ga45c4c964fad4ad1641d5c9c28c4645b9", null ],
[ "CLUTCHLOG_STRIP_CALLS", "group___default_config.html#ga98f30d814d4913a8a7c93a8793f49adf", null ],
- [ "CLUTCHLOG_HFILL_MARK", "group___default_config.html#gad5fbbacf74b8e4669b8f9efdfe81bd25", null ]
+ [ "CLUTCHLOG_DEFAULT_HFILL_MARK", "group___default_config.html#ga4eda0c1bfded5df89351b8ce8b9c2805", null ]
];
\ No newline at end of file
diff --git a/docs/group___formating.html b/docs/group___formating.html
index 6aab4d2..5883b58 100644
--- a/docs/group___formating.html
+++ b/docs/group___formating.html
@@ -28,7 +28,7 @@