Console

private class
system.Console

Description

The Console class provides methods for interacting with console input and output.

API overview

Constructor

Console ()

Functions

Public functions

print ( args: Vector.<Object> ): Void static native

Prints a variable number of arguments to the console output

Constructor

Console ()

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

print ( args: Vector.<Object> ): Void

static native

Prints a variable number of arguments to the console output.

Passing objects to this method calls Object.toString() on them To format objects for pretty printing, override Object.toString() on the subclass.

See also:
system.Object#toString()

Parameters

args: Vector.<Object> variable number of arguments to print


toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.