Skip to content

Commit 7eab8d7

Browse files
committed
Dummy typo fix
1 parent 6c0095a commit 7eab8d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/OSLogLogger.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ public struct OSLogLogger : LogHandler {
1919
/**
2020
Convenience init that splits the label in a subsystem and a category.
2121

22-
The format of the lable should be as follow: "subsystem:category".
22+
The format of the label should be as follow: "subsystem:category".
2323
The subsystem _should_ be a reverse-DNS identifier (as per Apple doc).
2424
Example: "`com.xcode-actions.oslog-logger:LogHandler`".
2525

2626
If there is no colon in the given label
27-
we set the category to “`<none>`” (it cannot be `nil`, suprisingly, and we decided against the empty String to be able to still filter this category)
27+
we set the category to “`<none>`” (it cannot be `nil`, surprisingly, and we decided against the empty String to be able to still filter this category)
2828
and we use the whole label for the subsystem.
2929

3030
It is _not_ possible to have a subsystem containing a colon using this initializer. */

Sources/UnderlyingLogger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import os
77
* On macOS 11+, tvOS 14+, etc. we use os.Logger.
88
* On lower platforms we use OSLog.
99
*
10-
* Why not use OSLog anywhere?
10+
* Why not use OSLog everywhere?
1111
* Because it is broken (at least on macOS 14/iOS 17) and the subsystem and category are not properly set. */
1212
internal enum UnderlyingLogger {
1313

0 commit comments

Comments
 (0)