ETTranscript class documentation

Authors

Günther Noack (guenther@unix-ag.uni-kl.de)
A Smalltalk-80 like Transcript implementation

Copyright: (C) 2007 Günther Noack


Contents -

  1. Software documentation for the ETTranscript class
  2. Software documentation for the ETTranscriptDelegate protocol
  3. ETTranscript variables

Software documentation for the ETTranscript class

ETTranscript : NSObject

Declared in:
ETTranscript.h

@group Logging

A simple logging class designed for compatibility with Smalltalkers' expectations.

In the future, it may become possible to change the standard transcripts destination. ETTranscript will then take the role of an additional level of indirection.

Method summary

appendString: 

+ (void) appendString: (NSString*)aString;

Writes the given string to the standard transcript.


cr 

+ (void) cr;

Writes a carriage return to the standard transcript.


show: 

+ (void) show: (NSObject*)anObject;

Writes the object's description to the standard transcript.


Software documentation for the ETTranscriptDelegate protocol

ETTranscriptDelegate

Declared in:
ETTranscript.h

@group Logging

Protocol for transcript delegates. Store an object implementing the methods in this protocol in the thread's dictionary with the kTranscriptDelegate key and transcript messages will be sent to it instead of the standard output.

Method summary

appendTranscriptString: 

- (void) appendTranscriptString: (NSString*)aString;

Append the string to the transcript.


ETTranscript variables

kTranscriptDelegate

EMIT_STRING( kTranscriptDelegate;

Key used to identify the transcript delegate for this thread.