Skip to content

Commit 302d8d0

Browse files
committed
fix position
1 parent 31d61d7 commit 302d8d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Example/SwiftLoggerExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/SwiftLogger/Log.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ enum Log {
4646
fileprivate static func handleLog(level: LogLevel, str: String, shouldLogContext: Bool, context: Context) {
4747
var logComponents = [Date().toString(), "[\(level.prefix)]"]
4848
if shouldLogContext {
49-
logComponents.insert("\(context.description)", at: 1)
49+
logComponents.append("\(context.description)")
5050
}
5151
logComponents.append(" -> \(str)")
5252

0 commit comments

Comments
 (0)