init(filePath:lineNumber:)
Initializes a new instance with a file path and a line number.
Declaration
convenience init(filePath: StaticString = #filePath, lineNumber: UInt = #line)Parameters
- filePath:
A string that represents a file path to the source code file.
- lineNumber:
An integer that represents a line of code in the source code file.