RitnLog

by Ritn

Trace log event.

Internal
a month ago
1.1 - 2.0
260
Owner:
Ritn
Source:
https://github.com/RitnDev/RitnLog
Homepage:
N/A
License:
MIT
Created:
3 years ago
Latest Version:
0.6.0 (a month ago)
Factorio version:
1.1 - 2.0
Downloaded by:
260 users

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})