{"_id":"@tsed/logger-std","_rev":"7-1d349747fc3defce5ccc0bc7786d69b6","name":"@tsed/logger-std","dist-tags":{"rc":"8.0.0-rc.1","latest":"8.0.5"},"versions":{"8.0.0-rc.1":{"name":"@tsed/logger-std","version":"8.0.0-rc.1","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.0-rc.1","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"5bf3fe69184f233e50054f4b74c8a946e395cd88","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.0-rc.1.tgz","fileCount":11,"integrity":"sha512-YUIYzPh4ldWiZ9xbVlrNfLiJZU3v9V5BleALHQJPO6cPMUULqjubMFzp+8vhiXdaJlBwLKPVmShr+47RwRb54w==","signatures":[{"sig":"MEYCIQDjQxPwWBTXl5WOWLgeufwh223FI38awpP6oKUZ5s+TWAIhAPL0/6DC6SHsKv8AviKEtrlNmBQywhS7XePOC+zD3l0S","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10699},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"c5f67a2722f0e074495b37df88d2f6909a5b364d","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"publishConfig":{"tag":"rc"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.0-rc.1","@tsed/vitest":"8.0.0-rc.1","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.0-rc.1"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.0-rc.1_1754313682853_0.386340432805345","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@tsed/logger-std","version":"8.0.0","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.0","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"4feedbd3c4f8f52e60263cac1c34102d870c75dc","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.0.tgz","fileCount":11,"integrity":"sha512-l4bJLIVRuwFydrdZHjpNOQE8xjDE/bZ9vACIV4DMFZaaRKO2igve1mrSItkXU9a+rVRaRJXn+xQy3AA4lulLhg==","signatures":[{"sig":"MEUCIQDpCi9d3n/kgc7uvILUI4yZzGAqW40DAyp89ICPJSVfVgIgDFOwvxeRI0IlCPUnXUAvjNH4Oiim4kh2zN7vUdIUXnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10637},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"fd4892443d4ed4943cdec7af19500a92ef104425","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.0","@tsed/vitest":"8.0.0","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.0"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.0_1754753878256_0.7474555252232054","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@tsed/logger-std","version":"8.0.1","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.1","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"470260f4db1a2b4f92798502dec041a5f889c695","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.1.tgz","fileCount":11,"integrity":"sha512-7kaA3HdKfxym9kFTEZ4hKZFDAy75sIpb0lGraCnwFTbqdNbbE+uKKhP1SHWto1Zu1F5fLo3o2LRS3eNBg2e4yA==","signatures":[{"sig":"MEQCIEvqIOZ3HIAl3qH5Gs5T6L4SWb97JU0jgUUmYzAhJB7wAiAP/nYTgSiyiPVUleqgN/R4wio3Go2J0bw7GKyZMtr6wg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10637},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"eae151d59a01df572b03d2e631ff2e28656486a4","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.1","@tsed/vitest":"8.0.1","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.1"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.1_1754822110372_0.4894379119777421","host":"s3://npm-registry-packages-npm-production"}},"8.0.2":{"name":"@tsed/logger-std","version":"8.0.2","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.2","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"1e0ccd18c674665fc773bedd4ad430be380ed4c9","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.2.tgz","fileCount":11,"integrity":"sha512-2Q23KHg4SoMXv/5RtlbUdTZ1aH/0s4gTb+ezIeG76FKYrg2ymxEtvhIaBo4e6uyQbA37/P6EA6qIA/jqCtQqQQ==","signatures":[{"sig":"MEQCIGsFsRonn5ORTrFcYsSr/7jAKSQF2eN2UYPHx0J9NOsqAiBgkRDmm6mABvV0YXJ6sGzAtWOkkcdfgFce54dQP38Kkg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10637},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"2d63650a5ecc7d39ba4856ad332b05f6cd51a4a4","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.2","@tsed/vitest":"8.0.2","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.2_1755209383104_0.11867018752575276","host":"s3://npm-registry-packages-npm-production"}},"8.0.3":{"name":"@tsed/logger-std","version":"8.0.3","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.3","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"2790eafeb13e852e37e6d711ab6520ad4512027c","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.3.tgz","fileCount":11,"integrity":"sha512-jpgi8iIwkmGwN8Go/9MEErXSH+YukTBLNtSikNg3LaEQzFUcu3D8mpSpJdGt7J3ueoC8zj6+VcMYxXmSYMXrfA==","signatures":[{"sig":"MEUCIQCesVw1kvI0qTouqlnGYud7lg/faTOHVPjFY6hUpmmM1wIgD1H46Q3YuueWu7tk/xfid/mdsydv2SUicANp14Vnuns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10637},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"7fbe68c9043cec5b3a9babf1f819b5ab1749a9a8","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.3","@tsed/vitest":"8.0.3","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.3"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.3_1755210649724_0.4184334648851964","host":"s3://npm-registry-packages-npm-production"}},"8.0.4":{"name":"@tsed/logger-std","version":"8.0.4","keywords":["ts","log","debug","typescript","trace"],"author":{"name":"Romain Lenzotti"},"license":"MIT","_id":"@tsed/logger-std@8.0.4","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","bugs":{"url":"https://github.com/tsedio/logger/issues"},"dist":{"shasum":"2c970178ec7f48aa9365a1944e93401da6d15dd1","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.4.tgz","fileCount":11,"integrity":"sha512-rh+C+a92SFTqWdQVCdN80POXWAgFNMShCBaDV9YO8x9OSyRmR6EGrw8QRTFdv5nggHgFkCwXbRiZxS1QTJxfog==","signatures":[{"sig":"MEYCIQCqaw069ovyxcDeDG7GHv2BgceJbJYU+H/dU+W9cDjszAIhANCbCJMVELFhMSZxE7A3C+agwV5C5e7s5TPx5m5leQGY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10755},"main":"./lib/esm/index.js","type":"module","module":"./lib/esm/index.js","source":"./src/index.ts","exports":{".":{"types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js","tsed_source":"./src/index.ts"}},"gitHead":"72c1ed54f6f4a2d071d1f16034ecc2fdcc977e68","scripts":{"test":"vitest run","build":"yarn barrels && yarn run build:ts","barrels":"barrels","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build:ts":"tsc --build tsconfig.esm.json"},"typings":"./lib/types/index.d.ts","_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"repository":{"url":"git+https://github.com/tsedio/logger.git","type":"git"},"_npmVersion":"10.8.2","description":"Stdout and Stderr appender module for @tsed/logger","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"2.8.1","colors":"1.4.0","semver":"^7.7.2","date-format":"^4.0.14"},"_hasShrinkwrap":false,"devDependencies":{"vite":"7.0.6","vitest":"^3.2.4","typescript":"5.9.2","@tsed/logger":"8.0.4","@tsed/vitest":"8.0.4","@tsed/barrels":"6.6.0","@tsed/typescript":"8.0.4"},"peerDependencies":{"@tsed/logger":">=8.0.0"},"peerDependenciesMeta":{"@tsed/logger":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/logger-std_8.0.4_1755629626446_0.3615254287759855","host":"s3://npm-registry-packages-npm-production"}},"8.0.5":{"name":"@tsed/logger-std","description":"Stdout and Stderr appender module for @tsed/logger","type":"module","version":"8.0.5","author":{"name":"Romain Lenzotti"},"license":"MIT","source":"./src/index.ts","main":"./lib/esm/index.js","module":"./lib/esm/index.js","typings":"./lib/types/index.d.ts","exports":{".":{"tsed_source":"./src/index.ts","types":"./lib/types/index.d.ts","import":"./lib/esm/index.js","default":"./lib/esm/index.js"}},"scripts":{"test":"vitest run","test:ci":"vitest run --coverage.thresholds.autoUpdate=true","build":"yarn barrels && yarn run build:ts","barrels":"barrels && eslint src/**/index.ts --fix","build:ts":"tsc --build tsconfig.esm.json"},"repository":{"type":"git","url":"git+https://github.com/tsedio/logger.git"},"keywords":["ts","log","debug","typescript","trace"],"bugs":{"url":"https://github.com/tsedio/logger/issues"},"homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","dependencies":{"colors":"1.4.0","date-format":"^4.0.14","semver":"^7.7.2","tslib":"2.8.1"},"devDependencies":{"@tsed/barrels":"6.6.0","@tsed/logger":"8.0.5","@tsed/typescript":"8.0.5","@tsed/vitest":"8.0.5","typescript":"5.9.2","vite":"7.0.6","vitest":"^3.2.4"},"peerDependencies":{"@tsed/logger":">=8.0.0"},"peerDependenciesMeta":{"@tsed/logger":{"optional":false}},"_id":"@tsed/logger-std@8.0.5","gitHead":"3ceb83d8d0c5e2cc49b8ca49074213659f3cdfd8","_nodeVersion":"20.20.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SdUMDKHiunMoSWnv7y/D9sgtB2TBAYCkU9tUs00hsJGXSXL5tOgRMsIt2JATJmZDjcEZwxHyinhMj47xcZ2e9g==","shasum":"231db769a335b5e276f153c313f2049d0f16332f","tarball":"https://registry.npmjs.org/@tsed/logger-std/-/logger-std-8.0.5.tgz","fileCount":11,"unpackedSize":10787,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIQCg61ZxJak3tIsbEmU1zWui0+lxOBlRuvqKKKbEgRc+cgIfblpDWiUYgqL6PORBl8JqL/5oj2x3FB7tCRWEUcbAUA=="}]},"_npmUser":{"name":"romakita","email":"rom.lenzotti@gmail.com"},"directories":{},"maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/logger-std_8.0.5_1773847437498_0.6980058144309313"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-04T13:21:22.736Z","modified":"2026-03-18T15:23:57.764Z","8.0.0-rc.1":"2025-08-04T13:21:23.053Z","8.0.0":"2025-08-09T15:37:58.444Z","8.0.1":"2025-08-10T10:35:10.551Z","8.0.2":"2025-08-14T22:09:43.317Z","8.0.3":"2025-08-14T22:30:49.910Z","8.0.4":"2025-08-19T18:53:46.645Z","8.0.5":"2026-03-18T15:23:57.627Z"},"bugs":{"url":"https://github.com/tsedio/logger/issues"},"author":{"name":"Romain Lenzotti"},"license":"MIT","homepage":"https://github.com/tsedio/logger/tree/production/packages/logger-std","keywords":["ts","log","debug","typescript","trace"],"repository":{"type":"git","url":"git+https://github.com/tsedio/logger.git"},"description":"Stdout and Stderr appender module for @tsed/logger","maintainers":[{"name":"romakita","email":"rom.lenzotti@gmail.com"}],"readme":"# @tsed/logger-std\n\n[![Build Status](https://travis-ci.org/tsedio/logger.svg?branch=master)](https://travis-ci.org/tsedio/logger)\n[![Coverage Status](https://coveralls.io/repos/github/tsedio/logger/badge.svg?branch=master)](https://coveralls.io/github/tsedio/logger?branch=master)\n[![TypeScript](https://badges.frapsoft.com/typescript/love/typescript.svg?v=100)](https://github.com/ellerbrock/typescript-badges/)\n[![npm version](https://badge.fury.io/js/%40tsed%2Flogger-std.svg)](https://badge.fury.io/js/%40tsed%2Flogger-std)\n[![Dependencies](https://david-dm.org/tsedio/logger.svg)](https://david-dm.org/tsedio/logger#info=dependencies)\n[![img](https://david-dm.org/tsedio/logger/dev-status.svg)](https://david-dm.org/tsedio/logger/#info=devDependencies)\n[![img](https://david-dm.org/tsedio/logger/peer-status.svg)](https://david-dm.org/tsedio/logger/#info=peerDependenciess)\n[![Known Vulnerabilities](https://snyk.io/test/github/tsedio/logger/badge.svg)](https://snyk.io/test/github/tsedio/ts-express-decorators)\n\n<p style=\"text-align: center\" align=\"center\">\n <a href=\"https://tsed.dev\" target=\"_blank\"><img src=\"https://tsed.dev/tsed-og.png\" width=\"200\" alt=\"Ts.ED logo\"/></a>\n</p>\n\nStdout and Stderr appender module for [@tsed/logger](https://tsedio.github.io/logger/).\n\n## Features\n\n- Standard output (stdout) appender for info, debug, and trace level logs\n- Standard error (stderr) appender for error, warn, and fatal level logs\n- Configurable log message layout\n- Easy integration with @tsed/logger\n\n## Installation\n\n```bash\nnpm install @tsed/logger-std\n```\n\n## Usage\n\n### StdoutAppender\n\nThe StdoutAppender writes all log events to the standard output stream.\n\n```typescript\nimport {Logger} from \"@tsed/logger\";\nimport {StdoutAppender} from \"@tsed/logger-std\";\n\nconst logger = new Logger(\"loggerName\");\n\nlogger.appenders.set(\"stdout\", {\n  type: StdoutAppender,\n  levels: [\"info\", \"debug\", \"trace\"]\n});\n\nlogger.info(\"Hello world\");\n```\n\n### StderrAppender\n\nThe StderrAppender writes all log events to the standard error stream.\n\n```typescript\nimport {Logger} from \"@tsed/logger\";\nimport {StderrAppender} from \"@tsed/logger-std\";\n\nconst logger = new Logger(\"loggerName\");\n\nlogger.appenders.set(\"stderr\", {\n  type: StderrAppender,\n  levels: [\"error\", \"warn\", \"fatal\"]\n});\n\nlogger.error(\"An error occurred\");\n```\n\n### Using Both Appenders\n\nYou can use both appenders together to direct different log levels to the appropriate output streams:\n\n```typescript\nimport {Logger} from \"@tsed/logger\";\nimport {StdoutAppender, StderrAppender} from \"@tsed/logger-std\";\n\nconst logger = new Logger(\"loggerName\");\n\n// Configure stdout for normal logging\nlogger.appenders.set(\"stdout\", {\n  type: StdoutAppender,\n  levels: [\"info\", \"debug\", \"trace\"]\n});\n\n// Configure stderr for error logging\nlogger.appenders.set(\"stderr\", {\n  type: StderrAppender,\n  levels: [\"error\", \"warn\", \"fatal\"]\n});\n\nlogger.info(\"Normal operation\"); // Goes to stdout\nlogger.error(\"Something went wrong\"); // Goes to stderr\n```\n\n### Custom Layout\n\nYou can customize the output format by specifying a layout:\n\n```typescript\nimport {Logger} from \"@tsed/logger\";\nimport {StdoutAppender} from \"@tsed/logger-std\";\n\nconst logger = new Logger(\"loggerName\");\n\nlogger.appenders.set(\"stdout\", {\n  type: StdoutAppender,\n  levels: [\"info\", \"debug\", \"trace\"],\n  layout: {\n    type: \"pattern\",\n    pattern: \"%d %p %c %m%n\"\n  }\n});\n\nlogger.info(\"Custom formatted log\");\n```\n\n## Configuration Options\n\nBoth StdoutAppender and StderrAppender accept the following configuration options:\n\n- `type` - The appender type (StdoutAppender or StderrAppender)\n- `levels` - Array of log levels to output through this appender\n- `layout` - (optional) Layout configuration object, defaults to colored layout\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 - 2023 Romain Lenzotti\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","readmeFilename":"readme.md"}