Skip to content

Commit

Permalink
Cleanup (#9)
Browse files Browse the repository at this point in the history
* remove Bun worker

* replace command classes with module
  • Loading branch information
vish9812 authored Feb 16, 2024
1 parent 8fe3436 commit 48d1495
Show file tree
Hide file tree
Showing 16 changed files with 529 additions and 589 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ For details, refer to its [README.md](https://github.com/vish9812/analog/blob/ma

## Prerequisite:

Install [Bun](https://bun.sh/docs/installation) to run as CLI.
- [Bun](https://bun.sh/docs/installation) is needed to run the CLI.
- [Python 3](https://www.python.org/downloads/) is needed to run the UI.
- Python will be automatically installed if you run the Analog UI app with the `analog` script.

## Getting Started

Expand Down Expand Up @@ -73,13 +75,13 @@ Following are the 3 must have keys in the logs:
- timestamp
- msg

Example Format for JSON logs:
Expected Format for JSON logs:

```
{"timestamp":"2023-10-16 10:13:16.710 +11:00","level":"debug","msg":"Received HTTP request","dynamicKey1":"value 1","dynamicKey2":"value 2"}
```

Example Format for plain-text logs:
Expected Format for plain-text logs:

```
debug [2023-10-16 10:13:16.710 +11:00] Received HTTP request dynamicKey1="value 1" dynamicKey2=value 2
Expand Down
6 changes: 3 additions & 3 deletions cmd/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ tasks:
cmds:
- >
bun build
./main.ts
./summary/worker.ts
./filterer/reader.worker.ts
./src/main.ts
./src/commands/summary/worker.ts
./src/commands/filterer/worker.ts
--outdir ./cli
--target bun
231 changes: 0 additions & 231 deletions cmd/filterer/index.ts

This file was deleted.

84 changes: 0 additions & 84 deletions cmd/filterer/reader.worker.ts

This file was deleted.

Loading

0 comments on commit 48d1495

Please sign in to comment.