Sha256: ecc177cbbbd89a088de9b1d3fbe53091c80a476bf2cf4cffd215e18e38be3b97
Contents?: true
Size: 594 Bytes
Versions: 16
Compression:
Stored size: 594 Bytes
Contents
#include "../logging.hpp" namespace leatherman { namespace test { string logging_format_context::get_color(log_level lvl) const { switch (lvl) { case log_level::trace: case log_level::debug: return cyan; case log_level::info: return green; case log_level::warning: return yellow; case log_level::error: case log_level::fatal: return red; default: return reset; } } }} // namespace leatherman::test
Version data entries
16 entries across 16 versions & 2 rubygems