colorlog 0.0.9

std.experimental.logger with color support

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

colorlog Build Status

colorlog is a logger intended to be used with std.experimental.logger. It adds two loggers and functionality to add console colors to messages.


The simples way to use colorlog is to call the config function. It takes care of creating a shared logger instance and registering it.

import colorlog;
// set the loglevel to info and register a SimpleLogger.

Messages from logger will now have there loglevel colored. If additional coloring is desired the message can be manually colored."foo", "my message".color(;


Credit goes to the developers of dub. A significant part of the color handling is copied from that project.

Credit also goes to the developer of colorize for the inspiration.

  • Joakim Braennstroem
0.0.10 2024-Feb-22
0.0.9 2023-Feb-07
0.0.8 2021-May-31
0.0.7 2021-May-31
0.0.6 2021-May-30
Show all 12 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 291 downloads total

Short URL: