game.log(data [, for_player])
Posted: Sun Mar 25, 2018 11:34 pm
I want to add some custom stuff into factorio log.
Sure, it's possible to use write_file, but
Sure, it's possible to use write_file, but
- there will be two separate contexts
- no way to obtain real timestamp(whole factorio output is redirecting to system journal in my case, so there is current time)
- file will be reopened every write