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

Add Swift 6 Support #15

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
Binary file modified Sources/FelinePine/Documentation.docc/Resources/FelinePine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Sources/FelinePine/Documentation.docc/Resources/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Sources/FelinePine/Documentation.docc/Resources/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Sources/FelinePine/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@

#if canImport(os)
import os.log

/// Standard os.log Logger
public typealias Logger = os.Logger
#else
import Logging

/// swift-log Logging.Logger
public typealias Logger = Logging.Logger
#endif
Expand Down
2 changes: 1 addition & 1 deletion Sources/FelinePine/LoggingSystem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@
// swiftlint:enable strict_fileprivate

/// Defines the logging categories for your application.
public protocol LoggingSystem {
public protocol LoggingSystem: Sendable {
/// Logging categories available to types in the application
associatedtype Category: Hashable & RawRepresentable
where Category.RawValue == String

// swiftlint:disable:next missing_docs
static var identifier: String { get }

Check notice on line 77 in Sources/FelinePine/LoggingSystem.swift

View check run for this annotation

codefactor.io / CodeFactor

Sources/FelinePine/LoggingSystem.swift#L77

SwiftLint rule 'missing_docs' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

/// Subsystem to use for each ``Logger``.
/// By default, this is `Bundle.main.bundleIdentifier`.
Expand Down
Loading