Skip to content

Commit

Permalink
Merge pull request #60 from AthennaIO/develop
Browse files Browse the repository at this point in the history
Add request vanilla channel
  • Loading branch information
jlenon7 authored Feb 27, 2023
2 parents 28f94af + 4cbcc66 commit 0ed0897
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ on:
- develop

jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

linux:
runs-on: ubuntu-latest
strategy:
Expand All @@ -30,11 +41,6 @@ jobs:

- name: Run tests
run: npm run test:coverage
env:
SLACK_URL: ${{ secrets.SLACK_URL }}
DISCORD_URL: ${{ secrets.DISCORD_URL }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}

- name: Test code transpilation
run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/logger",
"version": "3.1.3",
"version": "3.1.4",
"description": "The Athenna logging solution. Log in stdout, files and buckets.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down
5 changes: 5 additions & 0 deletions src/Constants/VanillaChannels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export const VANILLA_CHANNELS = {
formatter: 'cli',
driver: 'console',
},
request: {
level: 'trace',
formatter: 'request',
driver: 'console',
},
exception: {
level: 'trace',
formatter: 'none',
Expand Down

0 comments on commit 0ed0897

Please sign in to comment.