clutchlog

C++ "spatial" logging system which targets versatile, (de)clutchable, _debugging_, in a single header.

OTHER License

Stars
14
clutchlog - 0.18 — "scolding" Latest Release

Published by nojhan about 2 months ago

  • Avoids segfaults with recent optimizations when Clutchlog was disabled in Release modes.
  • Less warnings from modern compilers.
  • Adds a doc note on how to use as a Git submodule.
clutchlog - 0.17 — "shorterning"

Published by nojhan over 1 year ago

  • Adds filename shortening methods.
  • Make the extravagant demo even more extravagant.
clutchlog - 0.16 — "depth delta gradient"

Published by nojhan over 1 year ago

  • Stack depth marks are now honoring depth_styles (allows for gradient of colors with depth, for instance).
  • Adds the CLUTCHLOGD macro, that allows to manually increment the stack depth.
clutchlog - 0.15 — "hash hi me"

Published by nojhan over 1 year ago

Adds the {filehas_fmt}, {funchash_fmt} and {depth_fmt’ template tags, and the corresponding configuration functions. Allows for coloring output lines based on their content.

clutchlog - v0.14 — "Life's short"

Published by nojhan almost 2 years ago

  • Adds the {level_short} tag.
  • Adds screenshot of examples.
clutchlog - v0.13 — "color-me surprised"

Published by nojhan almost 2 years ago

Adds support for 256- and 16M-colors modes.

clutchlog - Clutchlog v0.12 — "Mini mum"

Published by nojhan almost 2 years ago

  • Adds the hfill_min feature, to allow for managing log width in narrow terminal/outputs.
clutchlog - Clutchlog v0.11.1 — "Narrow Fill"

Published by nojhan almost 2 years ago

Fix a bug of the hfill feature in narrow terminals.

clutchlog - Clutchlog 0.11 — "Level Format"

Published by nojhan almost 2 years ago

  • Adds the {level_fmt} tag to color an output line with the color of the current log level (if configured with clutchlog::style).
  • Fix the use of hfill_max.
clutchlog - Clutchlog 0.10 — "Access, or…"

Published by nojhan about 2 years ago

  • Adds configuration accessors:
    • strip_calls
    • hfill_style
    • hfill_max
  • Better documentation.
clutchlog - Clutchlog 0.9 — "horizontal filled"

Published by nojhan about 2 years ago

  • Remove detailed location info when in release builds.
  • Add the {hfill} horizontal stretching section tag.
clutchlog - Clutchlog 0.8 — "blueprint"

Published by nojhan about 2 years ago

  • Fix scopes issues.
  • Easier management of levels as strings.
  • Better code.
  • Better documentation.
  • A logo.
clutchlog - 0.7.1: strip license

Published by nojhan almost 3 years ago

Change for a more permissive license.
Fix a variable name collision problem in the main macro.

clutchlog - 0.7: strip tease

Published by nojhan almost 3 years ago

New features:

  • a macro that allows wrapping any code within the current logger,
  • a macro to indicate whether the call stack depth feature is available,
  • a macro to configure the default number of calls stripped from depth computation.

Bug fixes:

  • fix the display of {depth} in formatting.
clutchlog - 0.6: a pulled back tress

Published by nojhan almost 4 years ago

  • New feature: generic wrapper to (de)clutch any function call. Useful with asserts.
clutchlog - 0.5: critical doc

Published by nojhan about 4 years ago

  • Fix: depth mark configuration was not honored.
  • Use "critical" as the most important log level, add the "note" level.
  • Better documentation and website.
clutchlog - 0.4: color me surprised

Published by nojhan about 4 years ago

The three first log level messages are colorized.

Adds features to change colors & typography at the log levels of your choice.

clutchlog - 0.3: declutched

Published by nojhan about 4 years ago

Disable depth/name features for OS not having Linux-like system headers.

clutchlog - 0.2: optimizout

Published by nojhan about 4 years ago

Performance and ease of use:

  • fastest calls,
  • allow uses in Release builds while optimizing out useless calls, without relying on preprocessor guards.
clutchlog - 0.1: log'n'dump

Published by nojhan about 4 years ago

First release, with log, dump and filtering features.