Soenneker.Extensions.Logger 4.0.248

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

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.Logger

Extension methods for writing consistent application lifecycle and diagnostic information through ILogger.

Installation

dotnet add package Soenneker.Extensions.Logger

Usage

using Soenneker.Extensions.Logger;

TimeZoneInfo reportingZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
logger.LogStartupInformation(reportingZone);

LogStartupInformation() emits three Debug messages:

----- Startup information -----
Current time: <precise local timestamp> (<time-zone ID>)
----- /Startup information -----

The timestamp is captured in UTC, converted with the supplied TimeZoneInfo, and formatted with the Soenneker precise date format. The time-zone ID is logged separately as structured data under timeZoneId; the formatted timestamp is stored under time.

When Debug logging is disabled, the method returns before capturing or formatting the timestamp. The logger must be non-null. The time zone must be non-null when Debug logging is enabled.

This method reports process startup timing only. It does not log environment names, assembly versions, configuration, machine identity, or health status.

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

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
4.0.248 36 9/9/2026
4.0.247 72 9/8/2026
4.0.246 73 9/8/2026
4.0.245 84 9/7/2026
4.0.244 79 9/7/2026
4.0.243 81 9/7/2026
4.0.242 88 9/7/2026
4.0.241 97 9/4/2026
4.0.240 83 9/4/2026
4.0.239 77 9/4/2026
4.0.238 91 9/1/2026
4.0.237 79 8/31/2026
4.0.236 86 8/31/2026
4.0.235 91 8/31/2026
4.0.234 100 8/30/2026
4.0.233 84 8/30/2026
4.0.232 83 8/30/2026
4.0.231 87 8/30/2026
4.0.230 82 8/30/2026
4.0.229 89 8/30/2026
Loading failed

Update dependency Soenneker.Extensions.DateTimeOffsets to 4.0.152 (#648)