# Log-File Mode

After calling the startup function, an application can call the TextToSpeechOpenLogFile call.

This call blocks until all previously queued text has been processed. After the call returns, all text subsequently queued by the call is written to a log file as text, phonemes, or syllables.

The phonemes and syllables are written using the arpabet phoneme alphabet. The TextToSpeechCloseLogFile call terminates phoneme logging and blocks until the speech from all previously queued text is processed.