setLogLevel
Sets the logging level for STConversationRunner and its internal conversation components.
Declaration
public func setLogLevel(_ level: STLogLevel)Overview
This setting is separate from the underlying media-component logging controls.
Logging scope
This configures conversation-layer logging, not the media components. Use the media-specific logging methods for underlying STMediaRunner diagnostics.
Parameters
- level — STLogLevel The logging level to apply.
Usage example
Set the desired diagnostic level for the appropriate logging scope:
conversation.setLogLevel(.debug)
Use a less verbose level for production diagnostics when appropriate. Conversation logging and underlying media logging are configured separately.
Apple Unified Logging
SpeechTiles Andamento uses Apple Unified Logging through the os logging APIs. Messages can appear in Xcode during development and, depending on severity and system configuration, in the operating system’s unified log store.
On macOS, open Console.app (Applications → Utilities), select your Mac, start live streaming, and filter by the application process or logging subsystem. You can also use the macOS log command-line utility. Apple determines which messages are retained and for how long; debug messages may not be persisted.
STLogLevel.none suppresses Andamento-generated logging at all levels. It does not suppress operating-system messages or logging independently generated by Apple frameworks.
For logging levels and additional details, see STLogLevel and Apple Unified Logging documentation.