Home Reference Source
import {console} from './stdlib/console.js'
public class | source

console

Handles output to the client console

Static Method Summary

Static Public Methods
public static

error(msg: *)

Displays a popup with the given message and crashes the client

public static

info(msg: *)

Logs an info message to the dev console

public static

log(msg: *)

Logs a message to the dev console

Static Public Methods

public static error(msg: *) source

Displays a popup with the given message and crashes the client

Params:

NameTypeAttributeDescription
msg *

The message to display

public static info(msg: *) source

Logs an info message to the dev console

Params:

NameTypeAttributeDescription
msg *

The message to display

public static log(msg: *) source

Logs a message to the dev console

Params:

NameTypeAttributeDescription
msg *

The message to display