Isoftforge.Apps.Client.Log
1.0.1
dotnet add package Isoftforge.Apps.Client.Log --version 1.0.1
NuGet\Install-Package Isoftforge.Apps.Client.Log -Version 1.0.1
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.Apps.Client.Log" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Isoftforge.Apps.Client.Log" Version="1.0.1" />
<PackageReference Include="Isoftforge.Apps.Client.Log" />
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.Apps.Client.Log --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Isoftforge.Apps.Client.Log, 1.0.1"
#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.Apps.Client.Log@1.0.1
#: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.Apps.Client.Log&version=1.0.1
#tool nuget:?package=Isoftforge.Apps.Client.Log&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Isoftforge.Apps.Client.Log
.NET client for the isoftforge Log satellite API.
Configuration
var client = LogClient.Create(
baseUrl: "https://apps-api.isoftforge.it/api/log",
apiKey: "ifc_your-api-key",
defaultApplication: "my-app");
Or with dependency injection:
services.AddLogClient(configuration.GetSection("Log"));
{
"Log": {
"BaseUrl": "https://apps-api.isoftforge.it/api/log",
"ApiKey": "ifc_your-api-key",
"DefaultApplication": "my-app"
}
}
- BaseUrl — hub (
https://apps-api.isoftforge.it/api/log) or dedicated host (https://log-api.isoftforge.it/api) - ApiKey — organization credential from Log → Credentials. The environment is resolved from the key.
Usage
var validation = await client.ValidateCredentialsAsync();
if (!validation.Valid) throw new InvalidOperationException(validation.Error);
await client.SendInformationAsync("Order created");
await client.SendErrorAsync("Payment failed", exception: ex.ToString());
await client.SendHeartbeatAsync("my-app");
For Serilog integration, use the Isoftforge.Log.Serilog package.
| Product | Versions 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.
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Http (>= 10.0.8)
- Microsoft.Extensions.Options (>= 10.0.8)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Isoftforge.Apps.Client.Log:
| Package | Downloads |
|---|---|
|
Isoftforge.Log.Serilog
Serilog sink for the isoftforge Log satellite API. Batches events to POST /ingest/events. |
GitHub repositories
This package is not used by any popular GitHub repositories.