diff --git a/README.md b/README.md index 3e3de94..2299e74 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ Or, if you want to declare some semantics beforehand: // Print warning messages in bold magenta: using fmt = clutchlog::fmt; fmt warn(fmt::fg::magenta, fmt::typo::bold); -log.style(clutchlog::level::magenta, warn); +log.style(clutchlog::level::warning, warn); ``` Using the `clutchlog::fmt` class, you can style: diff --git a/docs/index.html b/docs/index.html index 2d3d3e0..1d3c436 100644 --- a/docs/index.html +++ b/docs/index.html @@ -125,7 +125,7 @@ Output Configuration
The default format of the comment added with the dump macro is "# [{name}] {level} in {func} (at depth {depth}) @ {file}:{line}". It can be edited with the format_comment method. If it is set to an empty string, then no comment line is added. The default can be modified at compile time with CLUTCHDUMP_DEFAULT_FORMAT. By default, the separator between items in the container is a new line. To change this behaviour, you can change CLUTCHDUMP_DEFAULT_SEP or call the low-level dump method.
The mark used with the {depth_marks} tag can be configured with the depth_mark method, and its default with the CLUTCHLOG_DEFAULT_DEPTH_MARK macro:
The output can be colored differently depending on the log level.
Or, if you want to declare some semantics beforehand:
Using the clutchlog::fmt class, you can style:
The output can be colored differently depending on the log level.
Or, if you want to declare some semantics beforehand:
Using the clutchlog::fmt class, you can style:
clutchlog::fmt::fg,clutchlog::fmt::bg,