Working with the GemStone transcript
gt4gemstone comes with a transcript on the GemStone side that can be inspected from the local image.
The current remote transcript is an instance of GtGemStoneInImageTranscript
stored in the current SessionTemps
instance. The default transcript instance is managed by GtGemStoneTranscriptHandler
, and the class side of GtGemStoneTranscript
provides utility methods for accessing it.
The transcript can be viewed locally using the Transcript view of a GemStone session.
A current limitation of this transcript is that it does not auto-update.
By default the transcript is disabled.
GtGemStoneTranscript current enable
GtGemStoneTranscript current disable
GtGemStoneTranscript>>#toggleStatusWithLogging
switches the status of the transcript and also logs a message with the new status (enabled/disabled) to the transcript.
GtGemStoneTranscript current toggleStatusWithLogging
The class GtGemStoneTranscript
defines the main API for writting to the transcript. in the protocol api - streaming
.
GtGemStoneTranscript current crShow: 'haba2'
GtGemStoneTranscript current clearContent
A different type of transcript can be registered using GtGemStoneTranscriptHandler>>#registerTranscriptClass:
.
The class GtGemStoneRemoteTranscript
provides locally a wrapper over the remote transcript
GtGemStoneSessionRegistry defaultSession remoteTranscript