Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace logrus with standard library log/slog #126

Closed
Labels
@philippgille

Description

@philippgille

Describe the feature or problem you’d like to solve

Hi 👋 , I checked the dependencies and noticed that it's a fairly short list of direct dependencies already 💪 .

But with the introduction of thelog/slog package in the Go standard library in Go 1.21 in 2023, there's a way to do structured logging without a third party dependency, so the number of direct dependencies could be reduced even further. As long as no specificlogrus features or conveniences are required, could it make sense to migrate toslog?

Proposed solution

Migrate from third party librarygithub.com/sirupsen/logrus to standard librarylog/slog.

Benefit: One less direct dependency (and thus lower supply chain risk, less maintenance burden for updates, maybe quicker build times)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp