RitnLog

by Ritn

Trace log event.

8 months ago
1.1
217
Owner:
Ritn
Source:
https://github.com/RitnDev/RitnLog
Homepage:
N/A
License:
MIT
Created:
1 year, 4 months ago
Latest Version:
0.3.2 (8 months ago)
Factorio version:
1.1
Downloaded:
217 times

Créer des logs dans la console.

  • log des events "player".
  • remote interface :

    trace_event( map )

map = { mod_name (string), data (table), e (data event factorio), force_print (bool) }
* necessary

  • exemple :

    remote.call("ritnlog", "trace_event", {mod_name="myMod", data=data, e=e})
    remote.call("ritnlog", "trace_event", {mod_name="myMod", data=data})
    remote.call("ritnlog", "trace_event", {mod_name="myMod", data=data, e=nil, force_print=true})