Initializervapor 4.114.1Vapor
init(logLevel:)
RouteLoggingMiddleware.swift:9init(logLevel: Logger.Level = .info)
init(logLevel: Logger.Level = .info)
s5Vapor22RouteLoggingMiddlewareC8logLevelAC0C06LoggerV0F0O_tcfc
What are these?8Z9PG
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.
final class RouteLoggingMiddleware
Emits a log message containing the request method and path to a Request
’s logger. The log level of the message is configurable.
let logLevel: Logger.Level
func respond(to request: Request, chainingTo next: Responder) -> EventLoopFuture<Response>