Moved EonaCat.Logger.LogServer to its own repository

This commit is contained in:
2026-01-08 15:36:37 +01:00
parent 33a0b77bf1
commit 2497349ee5
97 changed files with 45 additions and 84549 deletions

View File

@@ -7,9 +7,31 @@
<Authors>EonaCat (Jeroen Saey)</Authors>
<Description>Logging client for the EonaCat Logger LogServer</Description>
<PackageTags>logging;monitoring;analytics;diagnostics</PackageTags>
<Copyright>EonaCat (Jeroen Saey)</Copyright>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<RepositoryUrl>https://git.saey.me/EonaCat/EonaCat.Logger.LogClient</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\EonaCat.Logger\icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="EonaCat.Logger" Version="1.5.0" />
<PackageReference Include="System.Net.Http.Json" Version="10.0.1" />
</ItemGroup>
<ItemGroup>
<None Update="readme.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>

View File

@@ -4,12 +4,12 @@
#### Via NuGet Package Manager:
```bash
dotnet add package LogCentral.Client
dotnet add package EonaCat.Logger.LogClient
```
#### Via Package Manager Console:
```powershell
Install-Package LogCentral.Client
Install-Package EonaCat.Logger.LogClient
```
## 📖 Usage Examples
@@ -17,8 +17,8 @@ Install-Package LogCentral.Client
### Basic Setup
```csharp
using LogCentral.Client;
using LogCentral.Client.Models;
using EonaCat.Logger.LogClient;
using EonaCat.Logger.LogClient.Models;
// Configure the client
var options = new LogCentralOptions
@@ -39,7 +39,7 @@ var logClient = new LogCentralClient(options);
```csharp
using EonaCat.Logger;
using LogCentral.Client.Integration;
using EonaCat.Logger.LogClient.Integration;
var loggerSettings = new LoggerSettings();
loggerSettings.UseLocalTime = true;
@@ -211,7 +211,7 @@ public class Program
### Windows Service / Console App
```csharp
using LogCentral.Client;
using EonaCat.Logger.LogClient;
using Microsoft.Extensions.Hosting;
public class Worker : BackgroundService
@@ -368,7 +368,7 @@ finally
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY --from=build /app/publish .
ENTRYPOINT ["dotnet", "LogCentral.Server.dll"]
ENTRYPOINT ["dotnet", "EonaCat.Logger.LogServer.dll"]
```
### Azure Deployment
@@ -386,12 +386,4 @@ For high-volume applications:
2. Implement **Elasticsearch** for faster searches
3. Use **message queues** (RabbitMQ, Azure Service Bus) for async processing
4. Partition database by date ranges
5. Implement log archival and retention policies
## 🤝 Support
For issues or feature requests, please visit our GitHub repository or contact support@logcentral.com
---
**LogCentral** - Enterprise-grade logging made simple.
5. Implement log archival and retention policies