Skip to content

Commit

Permalink
fix: logger parm order
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzerd committed Jan 9, 2024
1 parent 99a53e7 commit 3158b8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build",
"${workspaceFolder}/SharpFM.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
Expand All @@ -21,7 +21,7 @@
"publish",
"${workspaceFolder}/SharpFM.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
Expand Down
8 changes: 4 additions & 4 deletions SharpFM.App/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void NewEmptyItem()
}
catch (Exception e)
{
_logger.LogCritical("Error creating new Clip.", e);
_logger.LogCritical(e, "Error creating new Clip.");
}
}

Expand All @@ -137,7 +137,7 @@ public void CopyAsClass()
}
catch (Exception e)
{
_logger.LogCritical("Error Copying as Class.", e);
_logger.LogCritical(e, "Error Copying as Class.");
}
}

Expand Down Expand Up @@ -180,7 +180,7 @@ public async Task PasteFileMakerClipData()
}
catch (Exception e)
{
_logger.LogCritical("Error translating FileMaker blob to Xml.", e);
_logger.LogCritical(e, "Error translating FileMaker blob to Xml.");
}
}

Expand All @@ -206,7 +206,7 @@ public async Task CopySelectedToClip()
}
catch (Exception e)
{
_logger.LogCritical("Error returning the selected Clip FileMaker blob format.", e);
_logger.LogCritical(e, "Error returning the selected Clip FileMaker blob format.");
}
}

Expand Down

0 comments on commit 3158b8f

Please sign in to comment.