ESPLog
class ESPLog
Type that manages printing of formatted console logs for debugging process.
-
Boolean to determine whether console log needs to be printed
Declaration
Swift
static var isLogEnabled: Bool -
Prints messages in console that are triggered from different functions in a workflow. Add additional info like timestamp, filename, function name and line before printing the output.
Declaration
Swift
static func log(_ message: String, file: String = #file, function: String = #function, line: Int = #line)Parameters
messageMessage describing the current instruction in a workflow.
fileFilename containing the caller of this function.
functionName of the function invoking this method.
lineLine number from where the logs are generated.
ESPLog Class Reference