diff --git a/Source/AppleLogger/Data/LogLevel.swift b/Source/AppleLogger/Data/LogLevel.swift index dc16d1c..7319543 100644 --- a/Source/AppleLogger/Data/LogLevel.swift +++ b/Source/AppleLogger/Data/LogLevel.swift @@ -5,7 +5,7 @@ // Created by 이영빈 on 2022/10/04. // -import OSLog +import os /// The various log levels that the `SabyApplerLogger` provides /// diff --git a/Source/AppleLogger/Data/LoggerSetting.swift b/Source/AppleLogger/Data/LoggerSetting.swift index 5b0e9ac..f843db1 100644 --- a/Source/AppleLogger/Data/LoggerSetting.swift +++ b/Source/AppleLogger/Data/LoggerSetting.swift @@ -5,7 +5,7 @@ // Created by 이영빈 on 2022/09/30. // -import OSLog +import os public struct LoggerSetting { /// A variable indicating logger's logging level. Set to `.none` to not show logs. diff --git a/Source/AppleLogger/Implement/LogService.swift b/Source/AppleLogger/Implement/LogService.swift index 5bc2504..cbcd6e5 100644 --- a/Source/AppleLogger/Implement/LogService.swift +++ b/Source/AppleLogger/Implement/LogService.swift @@ -5,7 +5,7 @@ // Created by 이영빈 on 2022/09/30. // -import OSLog +import os public protocol LogService { var setting: LoggerSetting { get } diff --git a/Source/AppleLogger/Implement/OSLogger.swift b/Source/AppleLogger/Implement/OSLogger.swift index c2fa3b5..0dde587 100644 --- a/Source/AppleLogger/Implement/OSLogger.swift +++ b/Source/AppleLogger/Implement/OSLogger.swift @@ -6,7 +6,7 @@ // import Foundation -import OSLog +import os public final class OSLogger: LoggerType { var loggerSetting: LoggerSetting diff --git a/Source/AppleLogger/Logger.swift b/Source/AppleLogger/Logger.swift index 3125fbb..9601072 100644 --- a/Source/AppleLogger/Logger.swift +++ b/Source/AppleLogger/Logger.swift @@ -6,7 +6,7 @@ // import Foundation -import OSLog +import os public protocol Logger { /// You can use each method to show logs diff --git a/Test/AppleLogger/LoggerTest.swift b/Test/AppleLogger/LoggerTest.swift index 2fa0788..0b6179b 100644 --- a/Test/AppleLogger/LoggerTest.swift +++ b/Test/AppleLogger/LoggerTest.swift @@ -6,7 +6,7 @@ // import XCTest -import OSLog +import os @testable import SabyAppleLogger final class LoggerTest: XCTestCase {