joereynolds / joereynolds/sql-lint

Logger and log file

Open
#165 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
459
Forks
44
PR merge metrics
No merged PRs in 30d

Description

We need to log errors and such to a file instead/aswell as the console.

Currently, things like uncategoriseable queries will be spat out to the console but that's only if sql-lint is used via the command line. If it's used through an editor (like neovim or vscode), these warnings will not show.

For userspace programs like sql-lint it looks like the "correct" place to put them is `~/.cache/sql-lint/logs/my-loghere.log`.

This follows the XDG spec.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.