We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ea975 commit f28f813Copy full SHA for f28f813
Sources/Cosmic/Base/Logger.swift
@@ -11,11 +11,11 @@ import Foundation
11
12
public struct LogMetadata {
13
14
- let file: StaticString
+ public let file: StaticString
15
16
- let line: UInt
+ public let line: UInt
17
18
- let function: StaticString
+ public let function: StaticString
19
20
public init(file: StaticString = #file, line: UInt = #line, function: StaticString = #function) {
21
self.file = file
@@ -25,7 +25,7 @@ public struct LogMetadata {
25
26
// MARK: Computed properties
27
28
- var filename: String {
+ public var filename: String {
29
return "\(file)".components(separatedBy: "/").last ?? "\(file)"
30
}
31
0 commit comments