[squeak-dev] The Trunk: MonticelloConfigurations-mpe.74.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Feb 3 06:21:06 UTC 2010


Andreas Raab uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-mpe.74.mcz

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

Name: MonticelloConfigurations-mpe.74
Author: mpe
Time: 2 February 2010, 9:03:34.812 pm
UUID: c154802a-30ad-4060-9824-89955c364a39
Ancestors: MonticelloConfigurations-ul.73

if the preference #logToFile is disabled all update log events will be forwarded to a Transcript. If no Transcript is already open, I will open a new one. (requires the collection-mpe.290 extension)

=============== Diff against MonticelloConfigurations-ul.73 ===============

Item was changed:
  ----- Method: MCConfiguration>>log (in category 'accessing') -----
  log
  	"Answer the receiver's log. If no log exist use the default log"
  	
  	^log ifNil: [
+ 		(name notNil and: [ self class logToFile ]) ifFalse: [ 
+ 			Transcript countOpenTranscripts = 0 ifTrue: [Transcript open].
+ 			^Transcript ].
- 		(name notNil and: [ self class logToFile ]) ifFalse: [ ^Transcript ].
  		self log: ((FileStream fileNamed: self logFileName) setToEnd; yourself).
  		log ]!




More information about the Squeak-dev mailing list