Log In  

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

P#21132 2016-05-23 04:58 ( Edited 2016-05-31 15:49)

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

P#21134 2016-05-23 05:21 ( Edited 2016-05-23 09:21)

If you start PICO-8 with:

./pico8 > log.txt

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

P#21136 2016-05-23 06:01 ( Edited 2016-05-23 10:01)

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

P#21139 2016-05-23 07:01 ( Edited 2016-05-23 11:01)

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

P#21151 2016-05-23 09:52 ( Edited 2016-05-23 13:52)

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

P#21153 2016-05-23 10:11 ( Edited 2016-05-23 14:11)

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.

P#21908 2016-05-31 09:23 ( Edited 2016-05-31 13:23)

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

P#21918 2016-05-31 11:49 ( Edited 2016-05-31 15:49)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 08:03:55 | 0.007s | Q:22