I fail to find the absolute simplest way of using method System.Log.
From what I understand (here : https://adventuregamestudio.github.io/ags-manual/EngineConfigFile.html and here: https://adventuregamestudio.github.io/ags-manual/RuntimeEngine.html#command-line ) one has to add a command line switch.
Is there a way of simply enabling the logging from running the game in Debug, from the Editor?
I tried adding this to acsetup.cfg in the _Debug folder :
Code: ags
Unfortunately the file gets reset every time I run the game.
I tried with acsetup.cfg from folder \Compiled\Windows and \Compiled\Data,. those don't get overwritten but do nothing.
From what I understand (here : https://adventuregamestudio.github.io/ags-manual/EngineConfigFile.html and here: https://adventuregamestudio.github.io/ags-manual/RuntimeEngine.html#command-line ) one has to add a command line switch.
Is there a way of simply enabling the logging from running the game in Debug, from the Editor?
I tried adding this to acsetup.cfg in the _Debug folder :
[log]
file=all:all
file-path=C:\Users\admin\repos\ags-essential-modules\AGS 4 essential modules\_Debug\log.txt
Unfortunately the file gets reset every time I run the game.
I tried with acsetup.cfg from folder \Compiled\Windows and \Compiled\Data,. those don't get overwritten but do nothing.