[squeak-dev] The Trunk: System-mtf.403.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 20 21:27:10 UTC 2010


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'].!




More information about the Squeak-dev mailing list