https://github.com/glamboyosa/ex-cleanse
A VS Code utility that cleans up logs in your Elixir application.
https://github.com/glamboyosa/ex-cleanse
elixir elixir-phoenix vscode vscode-extension
Last synced: 4 months ago
JSON representation
A VS Code utility that cleans up logs in your Elixir application.
- Host: GitHub
- URL: https://github.com/glamboyosa/ex-cleanse
- Owner: glamboyosa
- Created: 2022-06-06T23:58:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-14T11:05:36.000Z (almost 4 years ago)
- Last Synced: 2025-10-20T09:39:21.479Z (8 months ago)
- Topics: elixir, elixir-phoenix, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 1.92 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ex-cleanse
A utility that cleans up logs in your Elixir application by [glamboyosa](https://github.com/glamboyosa)
Available as a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=glamboyosa.ex-cleanse)
https://user-images.githubusercontent.com/42815369/172269613-99098670-cd6b-45e2-8c74-4a0e04d61c83.mov
## Features
This extension has two main features:
- The `Add Logger` feature which allows you to add a new logger function or command e.g. `IO.puts` to a global list of loggers.
- The `Cleanse` feature which allows you to remove logs in your application.
## Usage
### Add Logger
To use the `Add Logger` feature simply open up your command palette and type `Add Logger`.
It'll display a text input for you to enter the name of the logger function or command you want to add.
### Cleanse
There are two ways to use the `Cleanse` feature.
- Via keyboard binding: Type the command
```bash
ctrl + shift + a
# or on Mac
⌘ + ⇧ + a
```
- Via the command palette: Open up the command palette and type `Cleanse`.
## Release Notes
### 1.0.0
Initial release of `ex-cleanse`.
### 1.0.1
Internal function definiton changes.
### 1.0.2
Improved grammatical accuracy of error message when log deleted is one.
### 1.0.3
Fixed regex definition in default case.