Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEATURE: Linkify backtrace lines to github (#104)
This allows Logster to construct GitHub URLs for each backtrace line based on a config provided by you that maps paths on the file system to GitHub repository URLs. The config for a Rails app may look like this: ```ruby Logster.config.project_directories = [ { path: Rails.root.to_s, url: "https://github.com/<your_org>/<your_repo>" } ] ``` The GitHub links will point to the `master` branch. Add a boolean key `main_app: true` to the hash to instruct Logster to use the `application_version` attribute from the env tab when constructing the links.
- Loading branch information
1 parent
1b87341
commit 294e13f
Showing
20 changed files
with
435 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ matrix: | |
rvm: | ||
- 2.3.4 | ||
- 2.5.3 | ||
- 2.6.5 | ||
- 2.7.0 | ||
|
||
services: | ||
- redis-server | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.