You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The internal logger to use when reporting status.
39
+
/// The internal logger to use when reporting misconfiguration and background activity.
40
40
nonisolatedletlogger:Logger
41
41
42
42
/// The internal executor to use when delivering messages.
@@ -57,15 +57,15 @@ public actor WebPushManager: Sendable {
57
57
/// - Note: On debug builds, this initializer will assert if VAPID authorization header expiration times are inconsistently set.
58
58
/// - Parameters:
59
59
/// - vapidConfiguration: The VAPID configuration to use when identifying the application server.
60
-
/// - logger: An optional parent logger to use for status updates.
60
+
/// - logger: The logger to use for misconfiguration and background activity. By default, a print logger will be used, and if set to `nil`, a no-op logger will be used in release builds. When running in a server environment, your shared logger should be used instead giving you full control of logging.
61
61
/// - eventLoopGroupProvider: The event loop to use for the internal HTTP client.
62
62
publicinit(
63
63
vapidConfiguration:VAPID.Configuration,
64
64
// TODO: Add networkConfiguration for proxy, number of simultaneous pushes, etc…
0 commit comments