The Trunk: System-mtf.403.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-mtf.403.mcz

commits-2
Matthew Fulmer uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mtf.403.mcz

==================== Summary ====================

Name: System-mtf.403
Author: mtf
Time: 20 December 2010, 4:26:11.933 pm
UUID: 9c59280c-c912-ac43-835f-ceee85142f8b
Ancestors: System-mtf.402

made a convenience method to dump squeak errors to SqueakDebug.log

=============== Diff against System-mtf.402 ===============

Item was added:
+ ----- Method: SmalltalkImage>>logSqueakError:inContext: (in category 'miscellaneous') -----
+ logSqueakError: errMsg inContext: aContext
+ "Log the error message and a stack trace to the usual file."
+
+ ^self logError: errMsg inContext: aContext to: self squeakErrorFileName
+ !

Item was added:
+ ----- Method: SmalltalkImage>>squeakErrorFileName (in category 'miscellaneous') -----
+ squeakErrorFileName
+ "Answer the file name used to dump error reports"
+
+ ^ Preferences debugLogTimestamp
+ ifTrue: ['SqueakDebug-' , Time totalSeconds printString , '.log']
+ ifFalse: ['SqueakDebug.log'].!