Skip to main content

sc.console

Functions for letting you print to the computer's console.


Functions

info

sc.console.info(format, ...)

Prints a info message to the console. Arguments are passed into a string.format

Arguments:

  • format [ string ] The message format to print.
  • ... [ any ] Values to pass into the format.

warn

sc.console.warn(format, ...)

Prints a warning message to the console. Arguments are passed into a string.format

Arguments:

  • format [ string ] The message format to print.
  • ... [ any ] Values to pass into the format.

error

sc.console.error(format, ...)

Prints a error message to the console. Arguments are passed into a string.format

Arguments:

  • format [ string ] The message format to print.
  • ... [ any ] Values to pass into the format.

info

sc.console.log(format, ...)

Prints a generic message to the console. Arguments are passed into a string.format

Arguments:

  • format [ string ] The message format to print.
  • ... [ any ] Values to pass into the format.