Page 1 of 1

Making pretty logs

Posted: 17 Feb 2013, 01:14
by Duha
Make some some script to pretty log files.

https://github.com/Cjkjvfnby/warzone2100_js_logger

there is 3 public functions.
initLogging add loggers to game events and some function (see implementation before use it!!!)

log sends data to debug and console in pretty format.

inspect print info about function call (argument, result, trace) usage is little weird if you not common with functional coding. :)

Licience is free. If you need part of functionality just copy-paste some functions to you code.