setMediaLogLevel
Sets one logging level across the underlying STMediaRunner components.
Declaration
public func setMediaLogLevel(_ level: STLogLevel)Overview
Use setLogLevel(_:) for the conversation layer and this method for the media layer.
Media logging scope
Applies a level across the underlying media components. Use setLogLevel for conversation-layer diagnostics or setMediaComponentLogLevels for component-specific levels.
Parameters
- level — STLogLevel The logging level to apply.
Usage example
Set the desired diagnostic level for the appropriate logging scope:
conversation.setMediaLogLevel(.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.