[AD] Location of allegro.log file (4.3.10) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Hi all.
Resending this as it didn't seem to get through this morning.
In src/allegro.c:al_trace() the log file is opened simply as allegro.log.
My beta testers have been complaining about these .log files being "left
everywhere" when they run Allegro games, and on the Amiga it is considered
bad form to write to disk without the user's permission - yeah we're a
quirky platform. :-) We have a RAM disk that is used for this sort of
thing.
Would anyone have a problem with adding a #define to specify the name and
path of the log file to be written to? We could do it in either of two
ways:
1) Specify it for each different OS. This is not so good given that they
will all probably use "allegro.log" and only the Amiga will use
"RAM:allegro.log".
2) Specify a generic default that will be in effect for all operating
systems, and on only those that wish to change it, we can #undef the
default and #define a new one in one of that platform's specific headers.
Thoughts?
--
/-------------------------------------------------------------------\
[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2 ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne ]
[Assembly Language: The most fun you can have with your clothes on! ]
\-------------------------------------------------------------------/