Skip to content

Commit

Permalink
Compile on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
marekpridal committed Feb 9, 2025
1 parent 30f8779 commit 833c177
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "91fc524e4a39ef532c26e525eabbcac7685a25bfca1f83e2060cd88147731ca7",
"originHash" : "86d3c80e950364bab61f36d013b45300638a34fdb39bd15bb3b25d4c933a82e4",
"pins" : [
{
"identity" : "swift-android-native",
Expand Down
3 changes: 3 additions & 0 deletions Sources/LogKit/LogKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ public enum Log {
#endif
public static func function(_ function: String, in file: String) {
guard enabledLogging.contains(.function) else { return }
#if canImport(Darwin)
let logger = Logger(subsystem: subsystem, category: Category.function.rawValue)
logger.debug("\(function) \(file)")
#elseif os(Android)
#endif
}

public static func `default`(_ string: String) {
Expand Down
1 change: 0 additions & 1 deletion Tests/LinuxMain.swift

This file was deleted.

Binary file removed assets/xcframework-asset.png
Binary file not shown.

0 comments on commit 833c177

Please sign in to comment.