Skip to content

Commit

Permalink
Fix ApplicationLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Jan 23, 2024
1 parent 71b2f2b commit 438d55d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Sources/AppState/Application/Types/Helper/ApplicationLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
open class ApplicationLogger {
open func debug(
_ message: String,
fileID: StaticString,
function: StaticString,
line: Int,
column: Int
_ fileID: StaticString = #fileID,
_ function: StaticString = #function,
_ line: Int = #line,
_ column: Int = #column
) {
debug(
{ message },
fileID: fileID,
function: function,
line: line,
column: column
fileID,
function,
line,
column
)
}

open func debug(
_ message: () -> String,
fileID: StaticString,
function: StaticString,
line: Int,
column: Int
_ fileID: StaticString = #fileID,
_ function: StaticString = #function,
_ line: Int = #line,
_ column: Int = #column
) {
Application.log(
debug: message,
Expand All @@ -35,10 +35,10 @@ open class ApplicationLogger {
open func error(
_ error: Error,
message: String,
fileID: StaticString,
function: StaticString,
line: Int,
column: Int
_ fileID: StaticString = #fileID,
_ function: StaticString = #function,
_ line: Int = #line,
_ column: Int = #column
) {
Application.log(
error: error,
Expand Down

0 comments on commit 438d55d

Please sign in to comment.