Static Methodvapor 4.106.2Vapor->Logging
bootstrap(from:)
LoggingSystem+Environment.swift:13static func bootstrap(from environment: inout Environment) throws
static func bootstrap(from environment: inout Environment) throws
s7Logging0A6SystemO5VaporE9bootstrap4fromyAD11EnvironmentVz_tKFZ
What are these?
FNV24: [5XB55]
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.
import Logging
A Logging API for Swift.
enum LoggingSystem
The LoggingSystem
is a global facility where the default logging backend implementation (LogHandler
) can be configured. LoggingSystem
is set up just once in a given program to set up the desired logging backend implementation.
struct Environment
The environment the application is running in, i.e., production, dev, etc. All Container
s will have an Environment
that can be used to dynamically register and configure services.
@preconcurrency static func bootstrap(from environment: inout Environment, _ factory: (Logger.Level) -> ((String) -> LogHandler)) throws