Gavin Sinclair
10/13/2004 7:19:00 AM
On Wednesday, October 13, 2004, 3:49:35 PM, Charles wrote:
>>
>> * Access a no-config logfile for debugging.
>>
>> debug 'Database connection established' # Look in ./debug.log
>>
>> * Trace expressions in that logfile.
>>
>> trace 'x + y'
>> trace 'Process.pid'
>> trace 'names', :pp # Pretty-print.
>> trace 'page_structure', :yaml # YAML representation.
>>
> I don't know if this was mentioned before, but even though there is no
> need for default configuration, it would be nice if there was a way to
> change the debug log if necessary. For instance if your running two
> different ruby scripts in the same directory that both use debug.log is
> there a way to specify a different log name for each one? No
> configuration necessary by default is great but there are cases it
> becomes necessary.
It's planned. The fact that someone actually wants it (for personal
use, I couldn't care less) will hurry it up :)
Gavin