AnyLogic
Expand
Font size

traceln

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 text in console.
o Object The object to print.

traceln(String textFormat, Object... args)

Description
The same as traceln(Object o) but allows text format syntax like in String.format(String, Object...) function.
Parameters
Name Type Description
textFormat String A format string
o Object The object to print.

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

Description
The same as traceln(Color color, Object o) but allows text format syntax like in String.format(String, Object...) function.
Parameters
Name Type Description
color Color The color of text in console.
textFormat String A format string
o Object The object to print.

traceln()

Description
Prints a line delimiter to the standard output stream.
How can we improve this article?