Log In  


It would be great to have a way to output information to a log file.

1


Or a way to dump the console to a log file.


If you start PICO-8 with:

./pico8 > log.txt

Anything that you output with printh will be logged to the file log.txt.


A typical case of "the more you read the handbook", sorry :D


That makes two of us. I only thought that could print to the console. Great news!


The "> file" is standard command line stuff and not pico8 specific :)


On Mac OS you can do cd to inside the Pico-8.app and do

./pico8 &> ~/Library/Logs/pico8.log

Then you can use Console.app and it's great features to view/filter the log.


I attempted to summarize console access for all of the platforms here: https://www.lexaloffle.com/bbs/?tid=2549



[Please log in to post a comment]