Skip to content

Commit

Permalink
Change log path to executable's directory
Browse files Browse the repository at this point in the history
Same thing as with 303abe2
  • Loading branch information
HEJOK254 committed Sep 7, 2024
1 parent 5db82be commit 882248e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Logger/SerilogConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ namespace QuickEdit.Logger;

public class SerilogConfiguration
{

public static void ConfigureLogger()
{
var logDirectory = "logs";
var logDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "logs");

Directory.CreateDirectory(logDirectory);

Expand Down

0 comments on commit 882248e

Please sign in to comment.