You’re viewing third-party extensions to Logger, a struct from swift-log.
Logger
You can also read the documentation forLogger itself.
extension Logger
struct Logger
A Logger is the central type in SwiftLog. Its central function is to emit log messages using one of the methods corresponding to a log level.
SwiftLog
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
func report(error: Error, metadata: @autoclosure () -> Logger.Metadata? = nil, file: String = #fileID, function: String = #function, line: UInt = #line)
Reports an Error to this Logger.
Error