Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix default logging keys #149

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Sources/ServiceLifecycle/ServiceGroupConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ public struct ServiceGroupConfiguration: Sendable {
public struct LoggingConfiguration: Sendable {
public struct Keys: Sendable {
/// The logging key used for logging the unix signal.
public var signalKey = "signal"
public var signalKey = "sl-signal"
/// The logging key used for logging the graceful shutdown unix signals.
public var gracefulShutdownSignalsKey = "gracefulShutdownSignals"
public var gracefulShutdownSignalsKey = "sl-gracefulShutdownSignals"
/// The logging key used for logging the cancellation unix signals.
public var cancellationSignalsKey = "cancellationSignals"
public var cancellationSignalsKey = "sl-cancellationSignals"
/// The logging key used for logging the service.
public var serviceKey = "service"
public var serviceKey = "sl-service"
/// The logging key used for logging the services.
public var servicesKey = "services"
public var servicesKey = "sl-services"
/// The logging key used for logging an error.
public var errorKey = "error"
public var errorKey = "sl-error"

/// Initializes a new ``ServiceGroupConfiguration/LoggingConfiguration/Keys``.
public init() {}
Expand Down