Improve logging

This commit is contained in:
Christoph Hagen
2023-02-06 21:31:12 +01:00
parent 29ecde067f
commit e4f2fc547b
5 changed files with 22 additions and 22 deletions

View File

@ -1,7 +1,7 @@
import App
import Vapor
var env = try Environment.detect()
var env = Environment.production
try LoggingSystem.bootstrap(from: &env)
let app = Application(env)
defer { app.shutdown() }