Moved EonaCat.Logger.LogServer to its own repository
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user