Adding service that can direct logging to vscode console (#377)

* Improved logging
- using classes instead of functions (feels like it fits better the use case)
- using singleton global to not pass logging service around

* Added vscode logger, command to change level, and settings

* improved bootstrap logging

* build foam-core before running tests in github workflows
This commit is contained in:
Riccardo
2020-11-27 15:38:19 +01:00
committed by GitHub
parent 9f17b1f7b9
commit 6152e89590
17 changed files with 204 additions and 24 deletions

View File

@@ -19,8 +19,11 @@ jobs:
- name: Install dependencies
run: yarn
# - name: Lint foam-lint
# run: yarn workspace foam-cli lint
- name: Lint foam-lint
run: yarn workspace foam-cli lint
- name: Build foam-core
run: yarn workspace foam-core build
- name: Test foam-cli
run: yarn workspace foam-cli test

View File

@@ -22,6 +22,10 @@ jobs:
- name: Lint foam-vscode
run: yarn workspace foam-vscode lint
- name: Build foam-core
run: yarn workspace foam-core build
- name: Test foam-vscode
run: yarn workspace foam-vscode test
# - name: Publish foam-vscode