kameloso.terminal.colours.tags

A collection of functions used to translate tags in messages into terminal colours.

Members

Functions

expandTags
auto expandTags(T line, LogLevel baseLevel, Flag!"strip" strip)

String-replaces <tags> in a string with the results from calls to Tint. Also works with dstrings and wstrings.

expandTags
auto expandTags(T line, LogLevel baseLevel)

String-replaces <tags> in a string with the results from calls to KamelosoLogger *tint methods. Also works with dstrings and wstrings. Overload that does not take a strip Flag.

stripTags
auto stripTags(T line)

Removes <tags> from a string.

See Also

Meta