protocol icon indicating copy to clipboard operation
protocol copied to clipboard

Support abstract structured logger interface

Open zchee opened this issue 4 years ago • 2 comments

Currently, the logger depends go.uber.org/zap package.

Should provide the abstract (but structured) Logger interface for developers who use the protocol package.

Like go-logr/logr, but Language Server Protocol specific.

zchee avatar Apr 05 '21 16:04 zchee

Should this package just target slog as the logger?

stefanvanburen avatar Oct 30 '24 13:10 stefanvanburen

@stefanvanburen Yes, When I create this issue, not exist slog. But slog has been one of Go community de-fact logger. I planned switch to using slog instead of go-logr.

Current status of this repository, See also: https://github.com/go-language-server/protocol/issues/48#issuecomment-2427327653

zchee avatar Oct 30 '24 17:10 zchee