traceln

How-To video: Printing debug information

traceln( Object o )

Description

Prints a textual representation of the specified object with a line delimiter at the end to the Console in the developer panel.

Parameters

Name Type Description
o Object The object to print.

traceln( Color color, Object o )

Description

Prints a textual representation of the specified object with a line delimiter at the end to the Console. The text color is defined by the color argument.

Parameters

Name

Type

Description

color

Color

The color of the text in Console.

o

Object

The object to print.


traceln( String textFormat, Object... args )

Parameters

Name

Type

Description

textFormat

String

A format string

o

Object

The object to print.

Description

The same as traceln(Object o) but allows text format syntax like in String.format(String, Object...) function.


traceln( Color color, String textFormat, Object... args )

Parameters

Name

Type

Description

color

Color

The color of the text in Console.

textFormat

String

A format string

o

Object

The object to print.

Description

The same as traceln(Color color, Object o) but allows text format syntax like in String.format(String, Object...) function.

traceln( )

Description

Prints a line delimiter to the standard output stream.

Demo model: Event Writes to the Log