Skip to content

Commit 4151b78

Browse files
authored
Merge pull request #1985 from ahoppen/shared-log-handler
Make `LogHandlerActor.shared` a `let`
2 parents 4cb8a56 + 94d7a22 commit 4151b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKLogging/NonDarwinLogging.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ private let dateFormatter = {
287287
/// Actor that protects `logHandler`
288288
@globalActor
289289
actor LogHandlerActor {
290-
static var shared: LogHandlerActor = LogHandlerActor()
290+
static let shared: LogHandlerActor = LogHandlerActor()
291291
}
292292

293293
/// The handler that is called to log a message from `NonDarwinLogger` unless `overrideLogHandler` is set on the logger.

0 commit comments

Comments
 (0)