Well I don't really understand logs. So lets say I log something like this...
world.log << "BLARG!"
exactly were is that stored is it in a file or what? and how would I access it?
ID:175494
![]() Apr 16 2003, 10:32 am
|
|
You know those evil red messages you get in Dream Seeker when you get runtime errors in your game? That's world.log output, except that DS is generating it automatically. Sending stuff to world.log allows you to send your own messages like that.
You can send world.log messages to a file by setting world.log to a different value. Look it up in the reference. =) |
log = file('log.txt')