Skip to content

Commit

Permalink
#6
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Jun 28, 2022
1 parent e87d5a4 commit aab7bfc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions samples/lazarus/Console.lpi
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="11"/>
<Version Value="12"/>
<PathDelim Value="\"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
<MainUnitHasTitleStatement Value="False"/>
<MainUnitHasScaledStatement Value="False"/>
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="Console"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
Expand All @@ -24,7 +24,6 @@
</PublishOptions>
<RunParams>
<FormatVersion Value="2"/>
<Modes Count="0"/>
</RunParams>
<Units Count="1">
<Unit0>
Expand All @@ -44,6 +43,11 @@
<OtherUnitFiles Value="..\..\src;..\..\modules\horse\src;..\..\modules\horse-logger\src;..\..\modules\horse-utils-clientip\src"/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
</Linking>
<Other>
<CustomOptions Value="-dUseCThreads"/>
</Other>
Expand Down
2 changes: 1 addition & 1 deletion src/Horse.Logger.Provider.LogFile.pas
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function THorseLoggerLogFileConfig.SetDir(const ADir: string): THorseLoggerLogFi
begin
Result := Self;
if not DirectoryExists(ADir) then
CreateDir(ADir);
ForceDirectories(ADir);
FDir := ADir;
end;

Expand Down

0 comments on commit aab7bfc

Please sign in to comment.