log Summary Writes a line to standard output. Signatures Click on a signature to select it and view its documentation. public static void log(...external messages) public static void log(...System.Object messages) Usage public static void log(...external messages) public static void log(...System.Object messages) Parameters messages The message(s) to log. 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. 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 1234567import System; var a = 1;var b = "My message.";Console.log(a);Console.log(b);Console.log(a, b); Basic Usage 123import System; Console.log("My message."); Printing Integer Values 12345import System; int x = 1, y = 2;Console.log("x:", x);Console.log("y:", y); Share HTML | BBCode | Direct Link