Skip to content

Commit

Permalink
WIP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CptMoore committed Dec 8, 2024
1 parent a739670 commit 9bad06c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ModTek/Features/Logging/LoggingSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ internal class LoggingSettings
[JsonProperty]
internal const string MainLog_Description = "The main log.";
[JsonProperty(Required = Required.Always)]
internal AppenderSettings MainLog = new();
internal AppenderSettings MainLog = new()
{
Excludes = [ new FilterSettings { LoggerNames = ["HarmonyX" ] } ]
};
[JsonProperty(Required = Required.Always)]
internal string MainLogFilePath = "battletech_log.txt";

Expand Down
6 changes: 6 additions & 0 deletions ModTek/ModTek.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
<Asset Include="$(ProjectDir)\..\LICENSE" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

<!-- helpful direct access to resources in BT -->
<ItemGroup>
<None Include="$(BattleTechGameDir)\Mods\.modtek\*.txt;$(BattleTechGameDir)\Mods\.modtek\*.log" LinkBase=".modtek" />
<None Include="$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.json;$(BattleTechGameDir)\BattleTech_Data\StreamingAssets\data\**\*.csv" LinkBase="BattleTech_Data"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ModTek.Common\ModTek.Common.csproj" />
</ItemGroup>
Expand Down

0 comments on commit 9bad06c

Please sign in to comment.