BaseConsole

open class BaseConsole : AnsiEscape

Author

Colton Daily

Constructors

Link copied to clipboard

Types

Link copied to clipboard

Functions

Link copied to clipboard
open fun String.ansiEscape(code: Int): String
Link copied to clipboard
open fun StringBuilder.appendAnsiScape(code: Int, extra: String? = null, char: Char = 'm'): StringBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun String.bgColor(color: AnsiEscape.Color, bright: Boolean = false): String
Link copied to clipboard
open fun String.color(color: AnsiEscape.Color, bright: Boolean = false): String
Link copied to clipboard
fun debug(vararg msg: Any?)

Registers a debug in the console

Link copied to clipboard
fun error(vararg msg: Any?)

Registers an error in the console

Link copied to clipboard
fun info(vararg msg: Any?)

Registers a info in the console

Link copied to clipboard
fun log(vararg msg: Any?)

Registers a log in the console

open fun log(kind: BaseConsole.Kind, vararg msg: Any?)
Link copied to clipboard
fun trace(vararg msg: Any?)

Registers a trace in the console

Link copied to clipboard
fun warn(vararg msg: Any?)

Registers a warn in the console

Properties

Link copied to clipboard
Link copied to clipboard
open val String.bgBlue: String
Link copied to clipboard
open val String.bgCyan: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val String.bgRed: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val String.black: String
Link copied to clipboard
open val String.blue: String
Link copied to clipboard
open val String.bold: String
Link copied to clipboard
Link copied to clipboard
open val String.cyan: String
Link copied to clipboard
open val String.green: String
Link copied to clipboard
open val String.purple: String
Link copied to clipboard
open val String.red: String
Link copied to clipboard
Link copied to clipboard
open val String.white: String
Link copied to clipboard
open val String.yellow: String

Inheritors

Link copied to clipboard