Files
swift-service-lifecycle/Sources/ServiceLifecycle
Vladimir Kukushkin db7637f5cd Support custom service names (#233)
Add an extra `serviceName` field to the `ServiceConfiguration` to
customize SSL logs metadata.

Motivation:

This would allow giving meaningful name to services and service groups.
Closes #220.

Modifications:

- Added `.serviceName` to the `ServiceConfiguration`.
- Added a new initializer for `ServiceConfiguration` with `serviceName`
param.
- Logs now use `.serviceName` instead of `.service` for `sl-service`
metadata value.

Result:

Different `ServiceGroup`s can be distinguished in the logs.
2026-03-30 21:37:52 +01:00
..