Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add application/environment logging to dev command #1653

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .changeset/ggt-dev-outputs-application-logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"ggt": minor
---

# `ggt dev` now outputs application logs!

In our push to make your local development experience as streamlined as possible, we've now included application logs, by default, to ouput during a sync session!

![CleanShot 2024-10-02 at 16 04 03@2x](https://github.com/user-attachments/assets/840c23fd-8532-4b99-ad30-e0bb936afc10)

Not only that, as long as your terminal supports linking, traceID(s) are also setup to take you to the editor logs!

![CleanShot 2024-10-02 at 16 10 53](https://github.com/user-attachments/assets/e5e2b172-c7a7-43b3-b329-d84600f9f8ab)

No worries if the verbose output isn't your thing, we've got you covered:

- `--no-logs` - completely turns off this new feature
- `--my-logs` - same as the editor logs boolean for only showing my logs/events
- `--log-level` - Set the log level for incoming application logs, `debug, info, error`

As always any more info can be found through `ggt dev --help`!
1 change: 1 addition & 0 deletions .cspell/project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ unmock
unstub
unthunk
usagestop
Logql
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"eslint-plugin-unicorn": "^55.0.0",
"execa": "^8.0.1",
"fast-levenshtein": "^3.0.0",
"fast-querystring": "^1.1.2",
"figures": "^6.1.0",
"find-up": "^7.0.0",
"fs-extra": "^11.2.0",
Expand Down
Loading