[PR #1171] [MERGED] Migrate from logrus to slog #1256

Closed
opened 2026-03-03 12:33:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/1171
Author: @fsouza
Created: 5/17/2023
Status: Merged
Merged: 8/8/2023
Merged by: @fsouza

Base: mainHead: slog


📝 Commits (1)

  • 7d06d11 Migrate from logrus to slog

📊 Changes

7 files changed (+68 additions, -36 deletions)

View changed files

📝 fakestorage/server.go (+0 -2)
📝 go.mod (+4 -2)
📝 go.sum (+6 -0)
📝 internal/config/config.go (+15 -9)
📝 internal/config/config_test.go (+13 -12)
internal/config/slog_writer.go (+17 -0)
📝 main.go (+13 -11)

📄 Description

Opening this PR for posteriority, slog doesn't support Go 1.19.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fsouza/fake-gcs-server/pull/1171 **Author:** [@fsouza](https://github.com/fsouza) **Created:** 5/17/2023 **Status:** ✅ Merged **Merged:** 8/8/2023 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `slog` --- ### 📝 Commits (1) - [`7d06d11`](https://github.com/fsouza/fake-gcs-server/commit/7d06d11f2ca0fa05c32e04b0c778fb6581090e8d) Migrate from logrus to slog ### 📊 Changes **7 files changed** (+68 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/server.go` (+0 -2) 📝 `go.mod` (+4 -2) 📝 `go.sum` (+6 -0) 📝 `internal/config/config.go` (+15 -9) 📝 `internal/config/config_test.go` (+13 -12) ➕ `internal/config/slog_writer.go` (+17 -0) 📝 `main.go` (+13 -11) </details> ### 📄 Description Opening this PR for posteriority, slog doesn't support Go 1.19. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:33:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#1256
No description provided.