log

Summary

Writes a line to standard output.

Signatures

Click on a signature to select it and view its documentation.

Usage

public static void log(...external messages)

Parameters

messages

The message(s) to log.

Description

Writes a line to standard output.

If there is more than one log statement, they will each be written to distinct lines.

If there is no console available, this method does nothing.

Examples

Basic Usage
1
2
3
4
5
6
7
import System;
 
var a = 1;
var b = "My message.";
Console.log(a);
Console.log(b);
Console.log(a, b);

Share

HTML | BBCode | Direct Link