Skip to content

Commit 7a8226c

Browse files
authored
Add logger argument in the README (#141)
# Motivation We were missing a `logger` argument for the `ServiceGroup` in the README. # Modification Adds the missing `logger` argument and renames a file # Result Fixes #139
1 parent 4860484 commit 7a8226c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ struct Application {
5656

5757
let serviceGroup = ServiceGroup(
5858
services: [service1, service2],
59-
configuration: .init(gracefulShutdownSignals: [.sigterm])
59+
configuration: .init(gracefulShutdownSignals: [.sigterm]),
60+
logger: logger
6061
)
6162
try await serviceGroup.run()
6263
}

0 commit comments

Comments
 (0)