-
Undocumented
See moreDeclaration
Swift
@objc public enum Level : Int -
Traces a message from a Spokestack module.
Declaration
Swift
public static func trace(_ level: Trace.Level, message: String, config: SpeechConfiguration?, context: SpeechContext?, caller: Any)Parameters
levelThe debugging trace level for this message.
configThe Spokestack configuration.
messageThe debugging trace message.
delegateThe delegate that should receive the debugging trace message.
contextThe context of the speech pipeline.
callerThe sender of the debugging trace message.
-
Traces a message from a Spokestack module.
Declaration
Swift
public static func trace(_ level: Trace.Level, message: String, config: SpeechConfiguration, delegates: [Tracer], caller: Any)Parameters
levelThe trace level for this message.
configThe Spokestack configuration.
messageThe debugging trace message.
delegatesThe delegates that should receive the trace message.
callerThe sender of the trace message.
-
Write data to a file, after clojure/core’s
spit.Declaration
Swift
public static func spit(data: Data, fileName: String, context: SpeechContext?, config: SpeechConfiguration?)Parameters
dataThe data to write to the file.
fileNameThe name of the file that will be created/appended with the data.
delegateThe delegate that should receive the debugging trace message with the spit results.
contextThe context of the speech pipeline.
configThe Spokestack configuration.
View on GitHub
Trace Structure Reference