Flashtrace.Formatters 2025.0.2-preview

Prefix Reserved
This is a prerelease version of Flashtrace.Formatters.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Flashtrace.Formatters --version 2025.0.2-preview
                    
NuGet\Install-Package Flashtrace.Formatters -Version 2025.0.2-preview
                    
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="Flashtrace.Formatters" Version="2025.0.2-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Flashtrace.Formatters" Version="2025.0.2-preview" />
                    
Directory.Packages.props
<PackageReference Include="Flashtrace.Formatters" />
                    
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 Flashtrace.Formatters --version 2025.0.2-preview
                    
#r "nuget: Flashtrace.Formatters, 2025.0.2-preview"
                    
#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.
#addin nuget:?package=Flashtrace.Formatters&version=2025.0.2-preview&prerelease
                    
Install Flashtrace.Formatters as a Cake Addin
#tool nuget:?package=Flashtrace.Formatters&version=2025.0.2-preview&prerelease
                    
Install Flashtrace.Formatters as a Cake Tool

About

The Flashtrace.Formatters package is designed to solve the problem of formatting objects into strings, with a focus on performance and extensibility.

Key Features

  • High performance: rendering into preallocated buffers without short-term memory allocation.
  • Run-time extensibility. You can add formatters for third-party types.
  • Multi-role support: an object can render itself differently depending on the context, such as logging or inclusion in a cache key.

Main Types

  • IFormattable is an interface that can be implemented by any object that must be able to format itself.
  • Formatter is an abstract class that can format a third-party object, where IFormattable cannot be implemented.
  • FormatterRepository is a collection of Formatter objects.
  • UnsafeStringBuilder operates similarly to StringBuilder, but writes into a preallocated buffer.

Additional Documentation

  • Metalama.Patterns.Caching is currently the only package that utilizes Flashtrace.Formatters.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Flashtrace.Formatters:

Package Downloads
Flashtrace

A helper package implementing a logging front-end for Metalama.Patterns.Caching.

Metalama.Patterns.Caching.Backend

Package Description

Metalama.Patterns.Caching

A caching front-end that can be plugged different backends and helps with building the cache key, coping with special return types, invalidating the cache (directory or with dependencies). This package does not require the Metalama Aspect Framework.

Metalama.Patterns.Caching.TestHelpers

This package contains helper classes used when developing unit tests for new CachingBackend implementations. You don't need this package in any other scenarios.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2025.1.8 142 5/26/2025
2025.1.7 227 5/22/2025
2025.1.6 382 5/15/2025
2025.1.5 406 5/2/2025
2025.1.4-rc 376 4/15/2025
2025.1.3-rc 344 4/9/2025
2025.1.2-preview 348 4/1/2025
2025.1.1-preview 308 3/18/2025
2025.0.12 178 5/22/2025
2025.0.11 221 5/2/2025
2025.0.10 313 3/31/2025
2025.0.9 412 3/7/2025
2025.0.8 457 1/6/2025
2025.0.7-rc 335 12/6/2024
2025.0.6-rc 313 11/15/2024
2025.0.5-preview 229 11/8/2024
2025.0.4-preview 208 10/31/2024
2025.0.3-preview 209 10/25/2024
2025.0.2-preview 216 10/24/2024
2025.0.1-preview 201 10/14/2024
2024.2.32 355 3/7/2025
2024.2.31 270 12/6/2024
2024.2.30 283 11/15/2024
2024.2.29 287 10/31/2024
2024.2.28 266 10/25/2024
2024.2.27 278 10/24/2024
2024.2.26 306 10/14/2024
2024.2.25 294 10/2/2024
2024.2.24 365 9/10/2024
2024.2.23 1,301 8/30/2024
2024.2.22 320 8/29/2024
2024.2.21 320 8/28/2024
2024.2.20 373 8/15/2024
2024.2.19 910 8/1/2024
2024.2.18 238 7/29/2024
2024.2.17-rc 252 7/22/2024
2024.2.16-rc 238 7/18/2024
2024.2.15-rc 266 7/12/2024
2024.2.14-rc 272 7/8/2024
2024.2.13-rc 250 7/2/2024
2024.2.12-preview 273 6/28/2024
2024.2.11-preview 273 6/26/2024
2024.2.10-preview 280 6/20/2024
2024.2.9-preview 297 6/11/2024
2024.2.8-preview 216 6/6/2024
2024.2.7-preview 282 5/30/2024
2024.2.6-preview 263 5/25/2024
2024.2.5-preview 309 5/6/2024
2024.2.4-preview 281 5/4/2024
2024.2.3-preview 284 4/30/2024
2024.2.2-preview 293 4/23/2024
2024.2.1-preview 247 4/11/2024
2024.1.30 265 10/24/2024
2024.1.29 261 10/11/2024
2024.1.28 321 9/9/2024
2024.1.27 323 8/28/2024
2024.1.26 347 8/15/2024
2024.1.25 292 7/22/2024
2024.1.24 291 7/12/2024
2024.1.23 323 6/26/2024
2024.1.22 343 6/15/2024
2024.1.21 316 6/6/2024
2024.1.20 349 5/30/2024
2024.1.19 347 5/24/2024
2024.1.18 420 5/6/2024
2024.1.17 318 5/3/2024
2024.1.16 367 4/30/2024
2024.1.15 353 4/29/2024
2024.1.14 338 4/23/2024
2024.1.13 343 4/23/2024
2024.1.12 375 4/17/2024
2024.1.11-rc 256 4/11/2024
2024.1.10-rc 266 4/4/2024
2024.1.9-rc 284 3/27/2024
2024.1.8-preview 258 3/25/2024
2024.1.7-preview 289 3/19/2024
2024.1.6-preview 284 3/6/2024
2024.1.5-preview 301 2/29/2024
2024.1.4-preview 325 2/27/2024
2024.1.3-preview 281 2/23/2024
2024.1.2-preview 295 2/7/2024
2024.1.1-preview 251 1/30/2024
2024.0.16 375 6/15/2024
2024.0.15 315 6/6/2024
2024.0.14 348 5/30/2024
2024.0.13 335 5/24/2024
2024.0.12 348 4/17/2024
2024.0.11 351 3/21/2024
2024.0.10 339 3/19/2024
2024.0.9 329 2/29/2024
2024.0.8 343 2/23/2024
2024.0.7 381 2/7/2024
2024.0.6 421 1/3/2024
2024.0.5-rc 308 12/21/2023
2024.0.4-rc 305 12/12/2023
2024.0.3-preview 315 12/6/2023
2024.0.2-preview 330 11/14/2023
2024.0.1-preview 300 11/6/2023
2023.4.9 334 2/7/2024
2023.4.8 332 12/21/2023
2023.4.7 361 12/12/2023
2023.4.6 409 11/7/2023
2023.4.5-rc 301 10/26/2023
2023.4.4-preview 285 10/18/2023
2023.4.3-preview 284 10/4/2023
2023.4.2-preview 332 9/26/2023
2023.3.10-preview 288 12/21/2023
2023.3.9-preview 296 12/12/2023
2023.3.8-preview 343 10/17/2023
2023.3.7-preview 279 9/29/2023
2023.3.6-preview 487 9/26/2023