Skip to content

Commit

Permalink
change: use os instead of OSLog
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWOF committed Apr 16, 2024
1 parent a05ea38 commit 3eb5a03
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Source/AppleLogger/Data/LogLevel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by 이영빈 on 2022/10/04.
//

import OSLog
import os

/// The various log levels that the `SabyApplerLogger` provides
///
Expand Down
2 changes: 1 addition & 1 deletion Source/AppleLogger/Data/LoggerSetting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Source/AppleLogger/Implement/LogService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by 이영빈 on 2022/09/30.
//

import OSLog
import os

public protocol LogService {
var setting: LoggerSetting { get }
Expand Down
2 changes: 1 addition & 1 deletion Source/AppleLogger/Implement/OSLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OSLog
import os

public final class OSLogger: LoggerType {
var loggerSetting: LoggerSetting
Expand Down
2 changes: 1 addition & 1 deletion Source/AppleLogger/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import Foundation
import OSLog
import os

public protocol Logger {
/// You can use each method to show logs
Expand Down
2 changes: 1 addition & 1 deletion Test/AppleLogger/LoggerTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import XCTest
import OSLog
import os
@testable import SabyAppleLogger

final class LoggerTest: XCTestCase {
Expand Down

0 comments on commit 3eb5a03

Please sign in to comment.