mattn / efm-langserver

General purpose Language Server
MIT License
1.34k stars 61 forks source link

feat: adjust log levels #205

Closed mikatpt closed 2 years ago

mikatpt commented 2 years ago

Adjusted to log at INFO level on format success - my neovim logs are getting a little noisy. I also went ahead and made similar changes for the other handlers.

I'm also wondering if you're interested in me writing up a change to use enums for the log levels? Something like:

type LogLevel int

const (
    ERROR LogLevel = iota + 1
    WARN
    INFO
    DEBUG
    TRACE
)

Thanks for all your hard work!

mattn commented 2 years ago

Thank you