addlogvar <gamevar>
addlog <gamevar>
al <gamevar>
Prints the value of <gamevar> or <gamearray> to the console, which will also be stored inside the log file (eduke32.log).
Currently does not support logging struct members directly, and the game will crash upon trying to do so.