src code

class method SGF.log

SGF.log(arg1) → undefined

SGF's logging function, which accepts a variable number of arbitrary arguments to log for debugging purposes.

The objects passed as arguments will be passed to the SGF Engine's terminal or console (System.out.print on the Java Engine, console.log for the HTML Engine, for example).

The SGF namespace itself will also emit a log event, for game code too optionally hook into.