Skip to content

Commit

Permalink
Merge pull request #36 from jecisc/35-STDOut-logger-should-flush-afte…
Browse files Browse the repository at this point in the history
…r-recoring

35-STDOut-logger-should-flush-after-recoring
  • Loading branch information
jecisc authored Nov 15, 2019
2 parents ffedaad + ab28ff0 commit 6e6800a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/TinyLogger/TinyStdoutLogger.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,10 @@ TinyStdoutLogger >> initialize [

{ #category : #logging }
TinyStdoutLogger >> record: aString [
self record: aString on: streamClassProvider stdout
| stream |
stream := streamClassProvider stdout.
self record: aString on: stream.

"The flush is needed to send the record in the stdout."
stream flush
]

0 comments on commit 6e6800a

Please sign in to comment.