Skip to content

Commit

Permalink
Merge pull request #48 from byu-oit/fix/typo
Browse files Browse the repository at this point in the history
fixed typo and added badges and renamed app-dev repo
  • Loading branch information
yoshutch authored Jun 22, 2021
2 parents 34d59b5 + 72acb18 commit 23745a3
Show file tree
Hide file tree
Showing 5 changed files with 9,084 additions and 18 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ name: CI
on:
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- edited
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/dependabot.yml
- .github/workflows/deploy.yml
- .github/workflows/bump.yml

env:
node_version: "14.x"

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ name: Deployment
on:
push:
branches: [main]
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/dependabot.yml
- .github/workflows/ci.yml
- .github/workflows/bump.yml

env:
node_version: "14.x"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# BYU Logger
[![GitHub Release](https://img.shields.io/github/release/byu-oit/logger?style=flat)]()
[![codecov](https://codecov.io/gh/byu-oit/logger/branch/main/graph/badge.svg?token=6kkkOs7yEe)](https://codecov.io/gh/byu-oit/express-logger)
[![codecov](https://codecov.io/gh/byu-oit/logger/branch/main/graph/badge.svg?token=6kkkOs7yEe)](https://codecov.io/gh/byu-oit/logger)

Creates a [`pino` logger](https://github.com/pinojs/pino) with default settings to match the [BYU Application Development logging standards](https://github.com/byu-oit/app-dev-best-practices/blob/main/adr/application/0006-basic-logging-standards.md).
Creates a [`pino` logger](https://github.com/pinojs/pino) with default settings to match the [CES Application Development logging standards](https://github.com/byu-oit/ces-dev-best-practices/blob/main/adr/application/0006-basic-logging-standards.md).

It will pretty-print logs when run locally, but it will write logs in JSON when deployed (when `NODE_ENV=production`).

Expand Down
Loading

0 comments on commit 23745a3

Please sign in to comment.