Static Methodswift-package-manager 6.0.1PackagePlugin
emit(_:_:file:line:)
Emits an error with a specified severity and message, and optional file path and line number.
static func emit(_ severity: Severity, _ description: String, file: String? = #file, line: Int? = #line)