Skip to content
CAI
Software that uses CAICheck a score

PragmaticFlow/Serilog.Sinks.SpectreConsole

45.8

Weak · 3 October 2026

325

lines of production code

F#

with C#

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Serilog sink library that renders structured log events to the console using the Spectre.Console formatting library. It provides customizable output templates and color-coded log levels for both C\# and F\# applications, enabling developers to integrate enhanced console logging into their .NET projects.

Features

Added C\# and F\# examples using SpectreConsole sink

New example projects for C\# and F\# have been added to demonstrate logging with the SpectreConsole sink. The C\# example includes a Program.cs file showing how to configure Serilog programmatically with a specific output template and log levels, as well as commented-out code for configuration via appsettings.json. Both the C\# and F\# examples include an appsettings.json file that configures the SpectreConsole sink with a minimum log level of Verbose and a custom output template.

examples · high confidence

F\# example now uses Spectre.Console for structured logging output

The F\# example application has been updated to integrate the Spectre.Console library for logging. The program now configures Serilog to write log events to the console using Spectre.Console's formatting capabilities, allowing users to see structured log output with timestamps, log levels, and message enrichment directly in the terminal.

FSharpExample · high confidence

Initial implementation of the SpectreConsole sink for Serilog

This change introduces the \Serilog.Sinks.SpectreConsole\ package, enabling users to output structured log events to the console using the Spectre.Console library. The implementation includes a new \SpectreConsoleSink\ that renders log levels, timestamps, messages, and exceptions with specific color highlighting (e.g., red for errors, yellow for warnings) via the \LevelOutputFormat\ and \SpectreConsole\ helper modules. It supports customizable output templates and integrates with Serilog's configuration via the \SpectreConsole\ extension method.

src/Serilog.Sinks.SpectreConsole · high confidence

Initial release of Serilog.SpectreConsole sink

This change introduces the initial version of the Serilog.SpectreConsole library, a F\#-based sink that writes log events to the console using Spectre.Console. The release includes the core project file, a solution structure with C\# and F\# examples, and configuration for the .NET 10 SDK. It also provides comprehensive documentation in the README, detailing how to install the NuGet package, use the SpectreConsole extension method, and configure the sink via appsettings.json.

(repo-wide) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 47 → 46 (-0.8)
  • Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 75 → 75 (+0.0)
  • Architecture 97 → 97 (+0.0)
  • Maturity 36 → 36 (+0.0)
  • Readiness 35 → 35 (+0.0)
  • Security 73 → 67 (-5.5)

Resolved (3)

  • redundant comment (examples/CSharpExample/Program.cs)
  • redundant comment (examples/CSharpExample/Program.cs)
  • redundant comment (examples/CSharpExample/Program.cs)

New (3)

  • redundant comment (examples/CSharpExample/Program.cs)
  • redundant comment (examples/CSharpExample/Program.cs)
  • redundant comment (examples/CSharpExample/Program.cs)

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

PragmaticFlow/Serilog.Sinks.SpectreConsole was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit cb9af89e0c465e8f8036f9b6b25b77fa6b5afa82 — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.