Skip to content

Replace LibLog with Microsoft.Extensions.Logging #40

@craigsmitham

Description

@craigsmitham

Summary

LibLog v5.0.8 is no longer maintained. Replace it with Microsoft.Extensions.Logging abstractions (ILogger<T>), which are already available via ASP.NET Core dependencies.

Motivation

  • LibLog is unmaintained and predates modern .NET logging patterns
  • Microsoft.Extensions.Logging is the standard logging abstraction in .NET
  • We already depend on Microsoft.Extensions.DependencyInjection.Abstractions and ASP.NET Core, so ILogger<T> is readily available
  • Removes a dead dependency

Tasks

  • Identify all usages of LibLog in the codebase
  • Replace with ILogger<T> via dependency injection
  • Remove LibLog package from Directory.Packages.props
  • Verify logging still works in ASP.NET Core integration and tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions