-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Logrus is in maintenance mode and is readily replaced by slog
in go's standard library.
I am experimenting with running GitHub's MCP server as a Wasm component. Logrus does not compile but slog does.
Steps to reproduce the behavior
GOOS=wasip1 GOARCH=wasm go build -o github-mcp-server.wasm ./cmd/github-mcp-server/main.go
# github.com/sirupsen/logrus
../../../go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/terminal_check_notappengine.go:13:10: undefined: isTerminal
Expected vs actual behavior
Replacing logrus with slog should result in no change in runtime behavior, however by replacing a third party dependency with the standard library, additional compilation targets like Wasm are available.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working