Options
All
  • Public
  • Public/Protected
  • All
Menu

Kernel console instance.

Hierarchy

  • KConsoleInstance

Index

Methods

clear

  • clear(): void
  • Clears the console.

    Returns void

close

  • close(): Promise<void>
  • Closes the console instance and destroys the container associated.

    Returns Promise<void>

error

  • error(text: string): void
  • Prints an error onto the console.

    Parameters

    • text: string

      The string to print.

    Returns void

print

  • print(text: string): HTMLSpanElement
  • Prints a string onto the console.

    Parameters

    • text: string

      The string to print.

    Returns HTMLSpanElement

print_styled

  • print_styled(text: string, style: string): void
  • Prints a string onto the console with styles.

    Parameters

    • text: string

      The string to print.

    • style: string

      The css styles to use.

    Returns void

println

  • println(text: string): void
  • Prints a string onto the console.

    Parameters

    • text: string

      The string to print.

    Returns void

println_styled

  • println_styled(text: string, style: string): void
  • Prints a string onto the console with styles.

    Parameters

    • text: string

      The string to print.

    • style: string

      The css styles to use.

    Returns void

warn

  • warn(text: string): void
  • Prints a warning onto the console.

    Parameters

    • text: string

      The string to print.

    Returns void

Generated using TypeDoc