We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fd312 commit 317c9a3Copy full SHA for 317c9a3
Sources/Run/entrypoint.swift
@@ -13,9 +13,11 @@
13
// limitations under the License.
14
15
import App
16
+import Dependencies
17
import Logging
18
import Vapor
19
20
+
21
@main
22
enum Entrypoint {
23
static func main() async throws {
@@ -24,6 +26,10 @@ enum Entrypoint {
24
26
25
27
let app = try await Application.make(env)
28
29
+ prepareDependencies {
30
+ $0.logger = app.logger
31
+ }
32
33
do {
34
try await configure(app)
35
} catch {
0 commit comments