Updated
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EonaCat.Logger" Version="1.5.4" />
|
||||
<PackageReference Include="EonaCat.Logger" Version="1.5.5" />
|
||||
<PackageReference Include="System.Net.Http.Json" Version="10.0.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -261,7 +261,7 @@ namespace EonaCat.Logger.Server
|
||||
{
|
||||
char[] buffer = new char[8192]; // 8KB buffer size for large data
|
||||
int bytesRead;
|
||||
StringBuilder logData = new StringBuilder();
|
||||
StringBuilderChill logData = new StringBuilderChill();
|
||||
|
||||
while ((bytesRead = await reader.ReadAsync(buffer, 0, buffer.Length)) > 0)
|
||||
{
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
<Copyright>EonaCat (Jeroen Saey)</Copyright>
|
||||
<PackageTags>EonaCat;Logger;EonaCatLogger;Log;Writer;Jeroen;Saey</PackageTags>
|
||||
<PackageIconUrl />
|
||||
<Version>1.5.6</Version>
|
||||
<FileVersion>1.5.6</FileVersion>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
@@ -23,7 +25,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<EVRevisionFormat>1.5.5+{chash:10}.{c:ymd}</EVRevisionFormat>
|
||||
<EVRevisionFormat>1.5.6+{chash:10}.{c:ymd}</EVRevisionFormat>
|
||||
<EVDefault>true</EVDefault>
|
||||
<EVInfo>true</EVInfo>
|
||||
<EVTagMatch>v[0-9]*</EVTagMatch>
|
||||
@@ -61,7 +63,7 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EonaCat.Json" Version="1.2.0" />
|
||||
<PackageReference Include="EonaCat.Json" Version="2.0.4" />
|
||||
<PackageReference Include="EonaCat.Versioning" Version="1.2.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
|
||||
@@ -28,7 +28,7 @@ public static class ExceptionExtensions
|
||||
filename = frame.GetFileName();
|
||||
}
|
||||
|
||||
var sb = new StringBuilder();
|
||||
var sb = new StringBuilderChill();
|
||||
|
||||
sb.AppendLine();
|
||||
sb.AppendLine($"--- Exception details provided by {DllInfo.ApplicationName} ---");
|
||||
@@ -62,7 +62,7 @@ public static class ExceptionExtensions
|
||||
|
||||
private static string FormatExceptionData(IDictionary data)
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
var sb = new StringBuilderChill();
|
||||
|
||||
foreach (DictionaryEntry entry in data)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ public static class ExceptionExtensions
|
||||
|
||||
private static string FormatInnerException(Exception innerException)
|
||||
{
|
||||
var sb = new StringBuilder();
|
||||
var sb = new StringBuilderChill();
|
||||
|
||||
sb.AppendLine(innerException.GetType().ToString())
|
||||
.AppendLine(" Message : " + innerException.Message)
|
||||
|
||||
@@ -100,13 +100,13 @@ namespace EonaCat.Logger.Extensions
|
||||
|
||||
private static string DumpTree(object currentObject, int? maxDepth, int? maxCollectionItems)
|
||||
{
|
||||
var stringBuilder = new StringBuilder();
|
||||
var stringBuilder = new StringBuilderChill();
|
||||
var visitedHashSet = new HashSet<object>(new ReferenceEqualityComparer());
|
||||
DumpTreeInternal(currentObject, stringBuilder, 0, visitedHashSet, maxDepth, maxCollectionItems);
|
||||
return stringBuilder.ToString();
|
||||
}
|
||||
|
||||
private static void DumpTreeInternal(object currentObject, StringBuilder stringBuilder, int indent, HashSet<object> visited, int? maxDepth, int? maxCollectionItems)
|
||||
private static void DumpTreeInternal(object currentObject, StringBuilderChill stringBuilder, int indent, HashSet<object> visited, int? maxDepth, int? maxCollectionItems)
|
||||
{
|
||||
string indentation = new string(' ', indent * 2);
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ public static class LogHelper
|
||||
}
|
||||
|
||||
category ??= "General";
|
||||
var sb = new StringBuilder(settings?.HeaderFormat);
|
||||
var sb = new StringBuilderChill(settings?.HeaderFormat);
|
||||
var timestamp = dateTime.ToString(settings?.TimestampFormat ?? "yyyy-MM-dd HH:mm:ss");
|
||||
var timeLabel = settings?.UseLocalTime ?? false ? "[LOCAL]" : "[UTC]";
|
||||
|
||||
|
||||
1
EonaCat.Logger/version.txt
Normal file
1
EonaCat.Logger/version.txt
Normal file
@@ -0,0 +1 @@
|
||||
Version: 1.5.0+5d6a91ffb9.20260109
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="EonaCat.MemoryGuard" Version="1.0.9" />
|
||||
<PackageReference Include="EonaCat.MemoryGuard" Version="1.1.1" />
|
||||
<PackageReference Include="EonaCat.MemoryGuard.Generator" Version="1.1.0" />
|
||||
<PackageReference Include="EonaCat.Versioning" Version="1.2.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
||||
Reference in New Issue
Block a user