KamiSama.Extensions.Logging 10.0.11.9

dotnet add package KamiSama.Extensions.Logging --version 10.0.11.9
                    
NuGet\Install-Package KamiSama.Extensions.Logging -Version 10.0.11.9
                    
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="KamiSama.Extensions.Logging" Version="10.0.11.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Extensions.Logging" Version="10.0.11.9" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Extensions.Logging" />
                    
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 KamiSama.Extensions.Logging --version 10.0.11.9
                    
#r "nuget: KamiSama.Extensions.Logging, 10.0.11.9"
                    
#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 KamiSama.Extensions.Logging@10.0.11.9
                    
#: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=KamiSama.Extensions.Logging&version=10.0.11.9
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Extensions.Logging&version=10.0.11.9
                    
Install as a Cake Tool

KamiSama.Extensions.Logging

Back to package index

Version: 10.0.0

Description

Trace method entry through Microsoft.Extensions.Logging without repeating caller names. LogMethodEntry emits a Trace event containing the inferred calling type and member name and can include selected argument values for diagnostics.

How to use

dotnet add package KamiSama.Extensions.Logging --version 10.0.0

Import the logging extension and inject an ILogger<T> into the service that emits method-entry events:

using KamiSama.Extensions.Logging;
using Microsoft.Extensions.Logging;

public sealed class OrderService(ILogger<OrderService> logger)
{
    public void Process(Guid orderId)
    {
        logger.LogMethodEntry(argsToLog: orderId);
    }
}

Enable the Trace level for the relevant environment and category, for example with Logging:LogLevel:Default set to Trace. Argument values are written to logs, so select them deliberately and never include secrets, credentials, tokens, personal data, or other sensitive information.

Namespaces

Types

  • KamiSama.Extensions.Logging.LoggerExtensions - Extends ILogger with method-entry tracing that infers the calling member and declaring type. Use it to add consistent diagnostic entry events without repeating caller names in log statements.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (6)

Showing the top 5 NuGet packages that depend on KamiSama.Extensions.Logging:

Package Downloads
KamiSama.Modules.Identity.Core

ASP.NET Core Identity implementation for KamiSama login, token refresh, logout, user, role, password, two-factor, and session feature contracts, with revocable JWT sessions, EF Core persistence, mappings, and modular startup registration. Install it with exactly one Identity database provider and review the documented security and runtime limitations before exposing its features.

KamiSama.ExternalServices.Email.Smtp

SMTP transport registration and configuration for KamiSama email services. The current implementation contains a known inverted validation defect that rejects complete SMTP settings; see package documentation before use.

KamiSama.ExternalServices.Email.Core

Provider-selecting email registration for ASP.NET Core applications, including default-provider options and a built-in mock provider. Use it to route ISendEmail calls to keyed transport implementations.

KamiSama.ExternalServices.Sms.Core

Provider-selecting SMS registration for ASP.NET Core applications, including default-provider options and a scoped mock provider. Use it to route unkeyed ISendSms calls to scoped keyed providers.

KamiSama.ExternalServices.Sms.NeoZarin

Scoped NeoZarin HTTP SMS provider registration and configuration for KamiSama SMS services. Requires KamiSama RestSharp and HttpClient registration and currently has an inverted validation defect.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.11.9 162 8/24/2026
10.0.11.8 192 8/21/2026
10.0.11.7 196 8/21/2026
10.0.11.6 194 8/19/2026
10.0.11.5 167 8/18/2026
10.0.11.4 184 8/18/2026
10.0.11.3 172 8/18/2026
10.0.11.2 168 8/18/2026
10.0.11.1 160 8/15/2026
10.0.11 163 8/11/2026
10.0.10.2 167 8/4/2026
10.0.0 111 8/18/2026