ConsoleColors

class ConsoleColors extends AnsiColors with Colors

This class defines the colors to use to print out text on the Console with defaults as AnsiColors for a dark background console

trait Colors
class Object
trait Matchable
class Any

Type members

Inherited classlikes

implicit class AnsiColorOps(s: String)
Inherited from:
AnsiColors

Value members

Concrete methods

def error(s: String, doIt: Boolean): String
def failure(s: String, doIt: Boolean): String
def pending(s: String, doIt: Boolean): String
def removeColors(s: String): String
def skipped(s: String, doIt: Boolean): String
def stats(s: String, doIt: Boolean): String
def success(s: String, doIt: Boolean): String
def text(s: String, doIt: Boolean): String
override def toString: String
Definition Classes
AnsiColors -> Any

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 removeColors(s: String, doIt: Boolean): String
Returns:

a string with no color codes

Inherited from:
AnsiColors

Inherited fields

lazy val all: Seq[AnsiColor]
Inherited from:
AnsiColors
lazy val allColors: Seq[AnsiColor]
Inherited from:
AnsiColors
lazy val black: AnsiColor
Inherited from:
AnsiColors
lazy val blue: AnsiColor
Inherited from:
AnsiColors
lazy val cyan: AnsiColor
Inherited from:
AnsiColors
lazy val green: AnsiColor
Inherited from:
AnsiColors
lazy val magenta: AnsiColor
Inherited from:
AnsiColors
lazy val red: AnsiColor
Inherited from:
AnsiColors
lazy val reset: AnsiColor
Inherited from:
AnsiColors
lazy val white: AnsiColor
Inherited from:
AnsiColors
lazy val yellow: AnsiColor
Inherited from:
AnsiColors

Implicits

Inherited implicits

final implicit def AnsiColorOps(s: String): AnsiColorOps
Inherited from:
AnsiColors