An open API service indexing awesome lists of open source software.

https://github.com/jacoelho/logruscheck


https://github.com/jacoelho/logruscheck

go golangci-lint linter logrus

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# logruscheck

## Description

Linter to check if logrus logging calls are made with key-value pairs and no calls are made using the format variants like `Errorf`.

## Install

### Standalone

```bash
go install github.com/jacoelho/logruscheck
```

### [golangci-lint](https://golangci-lint.run/) plugin

Build the plugin

```bash
CGO_ENABLED=1 go build -o logruscheck.so -buildmode=plugin github.com/jacoelho/logruscheck/plugin
```