RitnLog

by Ritn

Trace log event.

a month ago
1.1
190
Owner:
Ritn
Source:
https://github.com/RitnDev/RitnLog
Homepage:
N/A
License:
MIT
Created:
9 months ago
Latest Version:
0.3.2 (a month ago)
Factorio version:
1.1
Downloaded:
190 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})