printColored

open fun <T> printColored(message: T, color: ConsolePainter.ANSIColor)

Method to print a colored text in the console

Parameters

message

: message to print

color

: color value for the message