Isoftforge.Log.Serilog 1.0.2

dotnet add package Isoftforge.Log.Serilog --version 1.0.2
                    
NuGet\Install-Package Isoftforge.Log.Serilog -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Isoftforge.Log.Serilog" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Isoftforge.Log.Serilog" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Isoftforge.Log.Serilog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Isoftforge.Log.Serilog --version 1.0.2
                    
#r "nuget: Isoftforge.Log.Serilog, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Isoftforge.Log.Serilog@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Isoftforge.Log.Serilog&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Isoftforge.Log.Serilog&version=1.0.2
                    
Install as a Cake Tool

Isoftforge.Log.Serilog

Serilog sink for the isoftforge Log satellite API. Batches log events and sends them to POST /ingest/events.

Configuration

{
  "IsoftforgeLog": {
    "BaseUrl": "https://apps-api.isoftforge.it/api/log",
    "ApiKey": "ifc_your-api-key",
    "Application": "my-app",
    "EnableHeartbeat": true,
    "HeartbeatIntervalSeconds": 30,
    "BatchSize": 50,
    "PeriodSeconds": 2
  }
}
  • BaseUrl — hub (https://apps-api.isoftforge.it/api/log) or dedicated host (https://log-api.isoftforge.it/api)
  • ApiKey — organization credential from Log → Credentials
  • Application — default application name on ingested events and slug for portal health monitoring
  • EnableHeartbeat — when true (default), sends POST /applications/{slug}/heartbeat periodically
  • HeartbeatIntervalSeconds — heartbeat interval (default 30; keep below the interval configured in Log → Applications)

ServerUrl is accepted as an alias for BaseUrl.

Application health: log ingestion and heartbeat are separate. Register the application in the portal (Log → Applications) and set Application to the same slug (e.g. my-app). Without heartbeats, the portal shows Unhealthy even when logs arrive correctly.

Usage

using Isoftforge.Log.Serilog;
using Serilog;

var builder = WebApplication.CreateBuilder(args);
builder.UseIsoftforgeLog(builder.Configuration.GetSection("IsoftforgeLog"));

Or manually:

using Isoftforge.Log.Serilog;
using Serilog;

Log.Logger = new LoggerConfiguration()
    .WriteTo.Console()
    .WriteTo.IsoftforgeLog(builder.Configuration.GetSection("IsoftforgeLog"))
    .CreateLogger();

builder.Host.UseSerilog();

Install packages:

dotnet add package Isoftforge.Log.Serilog
dotnet add package Isoftforge.Apps.Client.Log

Isoftforge.Log.Serilog pulls in Serilog.AspNetCore for UseSerilog().

The environment is resolved from the API key; no X-Log-Environment header is required.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 128 7/7/2026
1.0.1 112 7/7/2026
1.0.0 115 7/7/2026