diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index fa9699b..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "semi": true, - "trailingComma": "all", - "singleQuote": true, - "printWidth": 80, - "tabWidth": 2 -} diff --git a/README.md b/README.md index 241ed8f..e2f4463 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,14 @@ # js-logger -This library provides a JavaScript/TypeScript logger inspired by Python's logger. - -- Simple logging with default handlers supporting `console.log`, `console.error`, and `process.stderr`. -- Fast, logging level checks or log filters are applied **before** log records are created -- Complex log records properties support lazy evaluation, so they evaluated only when they need to be rendered +This library provides a JavaScript/TypeScript logger inspired by Python's +logger. + +- Simple logging with default handlers supporting `console.log`, + `console.error`, and `process.stderr`. +- Fast, logging level checks or log filters are applied **before** log records + are created +- Complex log records properties support lazy evaluation, so they evaluated only + when they need to be rendered - Flexible composition of loggers, handlers and formatters - Custom formatting using template literals - Supports structured logging through a JSON formatter @@ -44,7 +48,8 @@ loggerChild.info( ); ``` -There's lots more options available in the source code. See the docs and see the source code for more details. +There's lots more options available in the source code. See the docs and see the +source code for more details. ## Development diff --git a/package-lock.json b/package-lock.json index c11ac1b..cf7a130 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "devDependencies": { "@matrixai/id": "^4.0.0", - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "1.3.82", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.14", @@ -1847,9 +1847,9 @@ } }, "node_modules/@matrixai/lint": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.6.tgz", - "integrity": "sha512-Cbx6SCTAqSt7lTKkaXL7wB+KbkiXYpQ0LdV5fPcnzEfG0sCuG8dbJcwzgHT5Qn7ubG71BBLUVFjHY1EGADzT8g==", + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@matrixai/lint/-/lint-0.2.11.tgz", + "integrity": "sha512-Q/atLaVExgQbd7b/sXCvTAIus0M+egxr6fjHFNzpUZGY3Gu+UkYQrel/440JnvZ+fK8fq9GTHewpa14H08AcRw==", "dev": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index d315e30..f1e520c 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@matrixai/id": "^4.0.0", - "@matrixai/lint": "^0.2.6", + "@matrixai/lint": "^0.2.11", "@swc/core": "1.3.82", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.14",