Skip to content

Commit

Permalink
fix position
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSiddhant committed Jan 5, 2024
1 parent 31d61d7 commit 302d8d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"location" : "https://github.com/0xSiddhant/SwiftLogger.git",
"state" : {
"branch" : "main",
"revision" : "2c2a6a04a9c01e44c122e52ff1f5652b515d8653"
"revision" : "31d61d7ecb352cfb9618775018ac770046fe487b"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftLogger/Log.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ enum Log {
fileprivate static func handleLog(level: LogLevel, str: String, shouldLogContext: Bool, context: Context) {
var logComponents = [Date().toString(), "[\(level.prefix)]"]
if shouldLogContext {
logComponents.insert("\(context.description)", at: 1)
logComponents.append("\(context.description)")
}
logComponents.append(" -> \(str)")

Expand Down

0 comments on commit 302d8d0

Please sign in to comment.