mirror of
https://github.com/insidegui/VirtualBuddy.git
synced 2026-12-02 01:19:24 +08:00
20 lines
484 B
Swift
20 lines
484 B
Swift
import Foundation
|
|
import OSLog
|
|
|
|
struct DeepLinkSecurityDefines {
|
|
static let subsystem = "codes.rambo.DeepLinkSecurity"
|
|
}
|
|
|
|
struct DeepLinkError: LocalizedError {
|
|
var errorDescription: String?
|
|
init(_ errorDescription: String) {
|
|
self.errorDescription = errorDescription
|
|
}
|
|
}
|
|
|
|
extension Logger {
|
|
static func deepLinkLogger<T>(for type: T.Type) -> Logger {
|
|
Logger(subsystem: DeepLinkSecurityDefines.subsystem, category: String(describing: type))
|
|
}
|
|
}
|