MappedColors

case
class MappedColors(colors: Map[String, AnsiColor]) extends ConsoleColors

This class takes colors from a map, using default colors if some values are missing

Companion
object
trait Serializable
trait Product
trait Equals
trait Colors
class Object
trait Matchable
class Any

Value members

Inherited methods

def color(s: String, color: AnsiColor, doIt: Boolean): String
Returns

a colored string (if args.color == true) color markers are inserted at the beginning and end of each line so that newlines are preserved

Inherited from
AnsiColors
def error(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def failure(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def pending(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def removeColors(s: String, doIt: Boolean): String
Returns

a string with no color codes

Inherited from
AnsiColors
def skipped(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def stats(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def success(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
def text(s: String, doIt: Boolean): String
Inherited from
ConsoleColors
override
def toString: String
Definition Classes
Inherited from
ConsoleColors

Concrete fields

lazy override
lazy override
lazy override
lazy override
lazy override
lazy override
lazy override

Inherited fields

lazy
val all: Seq[AnsiColor]
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors
lazy
Inherited from
AnsiColors

Extensions

Inherited extensions

extension (s: String)
def removeColors: String
Inherited from
AnsiColors