├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ ├── dependabot-auto-merge.yml │ ├── node.js.yml │ └── npm-publish.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .prettierignore ├── Dockerfile ├── LICENSE ├── README.md ├── dev.ts ├── docker-compose.yml ├── jest.global-setup.test.ts ├── jest.global-setup.ts ├── package.json ├── prune-non-package-files.ts ├── screenshot.png ├── src ├── bin.ts ├── config │ ├── DEFAULT_CONFIG.ts │ ├── index.ts │ ├── mergeConfig.test.ts │ └── mergeConfig.ts ├── debug.ts ├── format │ ├── formatHeader.test.ts │ ├── formatHeader.ts │ ├── formatHttpResponseMessage.test.ts │ ├── formatHttpResponseMessage.ts │ ├── formatStandardMessage.ts │ ├── getChalk.ts │ ├── index.ts │ ├── levelToColor.ts │ ├── levelToString.ts │ └── statusCodeToColor.ts ├── index.test.ts ├── index.ts ├── parse │ ├── Input.ts │ ├── PropertyMap.ts │ └── mapProperties.ts └── utils │ ├── getDeep.test.ts │ ├── getDeep.ts │ ├── joinWith.ts │ ├── leftPad.test.ts │ ├── leftPad.ts │ ├── padLinesWithSpaces.test.ts │ ├── padLinesWithSpaces.ts │ ├── repeatString.ts │ ├── setDeep.test.ts │ └── setDeep.ts ├── test ├── cli.test.ts ├── transports.test.ts ├── transports.ts └── utils │ ├── examples.ndjson │ ├── examples.test.ts │ ├── examples.ts │ ├── generateAllExamples.sh │ ├── generateDebugExamples.ts │ ├── generateHttpExamples.ts │ ├── generatePinoExamples.ts │ └── overrideDynamicLogProperties.ts ├── tsconfig.json └── types ├── global.d.ts ├── hapi__bourne └── index.d.ts └── pino-debug └── index.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/dependabot-auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.github/workflows/dependabot-auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname $0)/_/husky.sh" 3 | 4 | npm run pre-commit 5 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/.prettierignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/README.md -------------------------------------------------------------------------------- /dev.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/dev.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /jest.global-setup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/jest.global-setup.test.ts -------------------------------------------------------------------------------- /jest.global-setup.ts: -------------------------------------------------------------------------------- 1 | export default (): void => { 2 | process.env.TZ = "UTC"; 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/package.json -------------------------------------------------------------------------------- /prune-non-package-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/prune-non-package-files.ts -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/screenshot.png -------------------------------------------------------------------------------- /src/bin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/bin.ts -------------------------------------------------------------------------------- /src/config/DEFAULT_CONFIG.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/config/DEFAULT_CONFIG.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/mergeConfig.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/config/mergeConfig.test.ts -------------------------------------------------------------------------------- /src/config/mergeConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/config/mergeConfig.ts -------------------------------------------------------------------------------- /src/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/debug.ts -------------------------------------------------------------------------------- /src/format/formatHeader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/formatHeader.test.ts -------------------------------------------------------------------------------- /src/format/formatHeader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/formatHeader.ts -------------------------------------------------------------------------------- /src/format/formatHttpResponseMessage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/formatHttpResponseMessage.test.ts -------------------------------------------------------------------------------- /src/format/formatHttpResponseMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/formatHttpResponseMessage.ts -------------------------------------------------------------------------------- /src/format/formatStandardMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/formatStandardMessage.ts -------------------------------------------------------------------------------- /src/format/getChalk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/getChalk.ts -------------------------------------------------------------------------------- /src/format/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/index.ts -------------------------------------------------------------------------------- /src/format/levelToColor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/levelToColor.ts -------------------------------------------------------------------------------- /src/format/levelToString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/levelToString.ts -------------------------------------------------------------------------------- /src/format/statusCodeToColor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/format/statusCodeToColor.ts -------------------------------------------------------------------------------- /src/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/index.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/parse/Input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/parse/Input.ts -------------------------------------------------------------------------------- /src/parse/PropertyMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/parse/PropertyMap.ts -------------------------------------------------------------------------------- /src/parse/mapProperties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/parse/mapProperties.ts -------------------------------------------------------------------------------- /src/utils/getDeep.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/getDeep.test.ts -------------------------------------------------------------------------------- /src/utils/getDeep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/getDeep.ts -------------------------------------------------------------------------------- /src/utils/joinWith.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/joinWith.ts -------------------------------------------------------------------------------- /src/utils/leftPad.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/leftPad.test.ts -------------------------------------------------------------------------------- /src/utils/leftPad.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/leftPad.ts -------------------------------------------------------------------------------- /src/utils/padLinesWithSpaces.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/padLinesWithSpaces.test.ts -------------------------------------------------------------------------------- /src/utils/padLinesWithSpaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/padLinesWithSpaces.ts -------------------------------------------------------------------------------- /src/utils/repeatString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/repeatString.ts -------------------------------------------------------------------------------- /src/utils/setDeep.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/setDeep.test.ts -------------------------------------------------------------------------------- /src/utils/setDeep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/src/utils/setDeep.ts -------------------------------------------------------------------------------- /test/cli.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/cli.test.ts -------------------------------------------------------------------------------- /test/transports.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/transports.test.ts -------------------------------------------------------------------------------- /test/transports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/transports.ts -------------------------------------------------------------------------------- /test/utils/examples.ndjson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/examples.ndjson -------------------------------------------------------------------------------- /test/utils/examples.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/examples.test.ts -------------------------------------------------------------------------------- /test/utils/examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/examples.ts -------------------------------------------------------------------------------- /test/utils/generateAllExamples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/generateAllExamples.sh -------------------------------------------------------------------------------- /test/utils/generateDebugExamples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/generateDebugExamples.ts -------------------------------------------------------------------------------- /test/utils/generateHttpExamples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/generateHttpExamples.ts -------------------------------------------------------------------------------- /test/utils/generatePinoExamples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/generatePinoExamples.ts -------------------------------------------------------------------------------- /test/utils/overrideDynamicLogProperties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/test/utils/overrideDynamicLogProperties.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /types/hapi__bourne/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/types/hapi__bourne/index.d.ts -------------------------------------------------------------------------------- /types/pino-debug/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dnjstrom/pino-dev/HEAD/types/pino-debug/index.d.ts --------------------------------------------------------------------------------