The Trunk: MonticelloConfigurations-mpe.74.mcz

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

The Trunk: MonticelloConfigurations-mpe.74.mcz

commits-2
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 ]!