{"_id":"@dmamontov/graphql-mesh-extended-logger-plugin","_rev":"3-c8a5e4666e6c8c93d1c05522a1e00413","name":"@dmamontov/graphql-mesh-extended-logger-plugin","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@dmamontov/graphql-mesh-extended-logger-plugin","version":"1.0.0","author":{"name":"Dmitry Mamontov"},"type":"module","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-extended-logger-plugin.git"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"require":{"types":"./dist/typings/index.d.cts","default":"./dist/cjs/index.js"},"import":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"},"default":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"}},"./package.json":"./package.json"},"typings":"dist/typings/index.d.ts","scripts":{"build":"bob build","lint":"eslint ."},"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@graphql-mesh/types":"^0.97.5","graphql":"*"},"devDependencies":{"@babel/core":"7.24.5","@eslint/js":"8.57.0","@theguild/prettier-config":"2.0.6","@types/node":"20.12.2","@typescript-eslint/eslint-plugin":"7.4.0","@typescript-eslint/parser":"7.4.0","bob-the-bundler":"7.0.1","eslint":"8.57.0","eslint-config-love":"43.1.0","eslint-config-prettier":"9.1.0","eslint-config-standard":"17.1.0","eslint-formatter-stylish":"8.40.0","eslint-import-resolver-alias":"1.1.2","eslint-import-resolver-typescript":"3.6.1","eslint-plugin-import":"2.29.1","eslint-plugin-jsonc":"2.14.1","eslint-plugin-n":"16.6.2","eslint-plugin-prettier":"5.1.3","eslint-plugin-promise":"6.1.1","eslint-plugin-sonar":"0.13.2","eslint-plugin-standard":"5.0.0","eslint-plugin-unicorn":"51.0.1","prettier":"3.2.5","ts-node":"10.9.2","typescript":"5.4.3"},"publishConfig":{"access":"public","directory":"dist"},"sideEffects":false,"typescript":{"definition":"dist/typings/index.d.ts"},"_id":"@dmamontov/graphql-mesh-extended-logger-plugin@1.0.0","gitHead":"a74ece50e580d2dcd6c3afbb0bad487451458211","description":"The Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-lro/H3yxO6CPk5HzhQy23gMU6/9dusDhPY25R7leGfSQJnE59M8wsCqJM7GtrOb+CWI18jVbVJEEW2h6mf/qxA==","shasum":"61614c3fe1218fcaba41586f0e2a6739d90149f6","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-extended-logger-plugin/-/graphql-mesh-extended-logger-plugin-1.0.0.tgz","fileCount":25,"unpackedSize":39391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDM+CMlmUksnWyd+wWcuZB5ZBQSA9wYAJSyyK/JpWyUaAiEA4rn+8kWTvgquC3lwPwXKozn78cszMkS6cypv9+x7yMY="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-extended-logger-plugin_1.0.0_1714738634965_0.1454764253384606"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dmamontov/graphql-mesh-extended-logger-plugin","version":"1.0.1","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-extended-logger-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-extended-logger-plugin@1.0.1","gitHead":"83b8b5795a38bd8fa3ab066a8b176b89d57db7e8","description":"The Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-rbWdUrVceymcgHrQIGuVwCaVk/J8gISCKtSXtufSjTKR85Twaviq2fnT+fYfn880TXCk3QmOz3jpDiRmvKzobg==","shasum":"eefdb1dfd55d4f110761400ec58f01408849a260","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-extended-logger-plugin/-/graphql-mesh-extended-logger-plugin-1.0.1.tgz","fileCount":15,"unpackedSize":21023,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNQwo2OxdnbmbWMCz6oBUn5lgwYwJfP+tEG3PtL5lqqgIhAIQRVUiJjwf2qlBhvFcT1vWoRaTw4b0cK8WjfcinGf84"}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-extended-logger-plugin_1.0.1_1715165230046_0.28842286806044326"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dmamontov/graphql-mesh-extended-logger-plugin","version":"1.0.2","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-extended-logger-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-extended-logger-plugin@1.0.2","gitHead":"2dc0b47af133c79e21e5e71c6a7fc768d650beff","description":"The Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-Fnm8AjklPY/dte+lkHiN9BTd4gWHdF+n8lfi/1h8WBQ2EqgSQzKc40PC+jIRSaFfXQ8UqFL3wR6gprUXtR9b8A==","shasum":"e07d0d4be416ddf4b19fec2c8adf6ce87e56bc22","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-extended-logger-plugin/-/graphql-mesh-extended-logger-plugin-1.0.2.tgz","fileCount":15,"unpackedSize":21619,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIovxoDVbE84gJxlaXOXCc1Ssl444rSeBTnkBs4OmPXAiBHnwh4qlMtFHv9T9OPH/gI2mW78PlljrFg47tbhh6zZw=="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-extended-logger-plugin_1.0.2_1715258322748_0.18212793395771576"},"_hasShrinkwrap":false},"1.0.3":{"name":"@dmamontov/graphql-mesh-extended-logger-plugin","version":"1.0.3","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-extended-logger-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-extended-logger-plugin@1.0.3","gitHead":"8b680c5c07c83101a1ede444596fbf5c38cb01a3","description":"The Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-H+MINsTjardxp8OxWMBKcMyRA329TU0tqqql84xYSPlV7RFqhJ+tUlwtYX8Z/QYEKb6EGwzQO7eVth2NH5N/iQ==","shasum":"a6051235a614da624e658c26a78ff75d365e9af5","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-extended-logger-plugin/-/graphql-mesh-extended-logger-plugin-1.0.3.tgz","fileCount":15,"unpackedSize":21679,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk4ue0N2Jxk59kt089MSPrzMIvBLPyoN5rOY9lFjVN1AIgTRBvatU+dkqmywiOMrucUNiikFjMpcwxQbUFWI0egYs="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-extended-logger-plugin_1.0.3_1715519957274_0.03853174163123918"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-03T12:17:14.861Z","1.0.0":"2024-05-03T12:17:15.132Z","modified":"2024-05-12T13:19:17.593Z","1.0.1":"2024-05-08T10:47:10.181Z","1.0.2":"2024-05-09T12:38:42.899Z","1.0.3":"2024-05-12T13:19:17.417Z"},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"description":"The Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.","homepage":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin#readme","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-extended-logger-plugin.git"},"author":{"name":"Dmitry Mamontov"},"bugs":{"url":"https://github.com/dmamontov/graphql-mesh-extended-logger-plugin/issues"},"license":"MIT","readme":"# Extended Logger Plugin for GraphQL Mesh\n\nThe Extended Logger Plugin is a plugin designed to enhance the logging capabilities of GraphQL Mesh. It provides detailed logs for operations and delegations, making it easier to debug and trace the flow of GraphQL queries and mutations.\n\n## Installation\n\nBefore you can use the Extended Logger Plugin, you need to install it along with GraphQL Mesh if you haven't already done so. You can install these using npm or yarn.\n\n```bash\nnpm install @dmamontov/graphql-mesh-extended-logger-plugin\n```\n\nor\n\n```bash\nyarn add @dmamontov/graphql-mesh-extended-logger-plugin\n```\n\n## Configuration\n\n### Modifying tsconfig.json\n\nTo make TypeScript recognize the Extended Logger Plugin, you need to add an alias in your tsconfig.json.\n\nAdd the following paths configuration under the compilerOptions in your tsconfig.json file:\n\n```json\n{\n  \"compilerOptions\": {\n    \"paths\": {\n       \"extended-logger\": [\"node_modules/@dmamontov/graphql-mesh-extended-logger-plugin\"]\n    }\n  }\n}\n```\n\n### Adding the Plugin to GraphQL Mesh\n\nYou need to include the Extended Logger Plugin in your GraphQL Mesh configuration file (usually .meshrc.yaml). Below is an example configuration that demonstrates how to use this plugin:\n\n```yaml\nplugins:\n  - extendedLogger:\n      operations:\n        success: true\n        error: true\n        result: false\n        document: true\n      delegations:\n        success: true\n        error: true\n        result: false\n        args: true\n```\n\n- **operations**: Logging Options for Operations;\n    - **success**: Logging of successful operations;\n    - **error**: Logging of error operations;\n    - **result**: Logging of operation results;\n    - **document**: Logging of documents processed in operations;\n- **delegations**: Logging Options for Delegations;\n    - **success**: Logging of successful delegations;\n    - **error**: Logging of error delegations;\n    - **result**: Logging of delegation results;\n    - **args**: Logging of arguments passed to delegations;\n\n## Conclusion\n\nRemember, always test your configurations in a development environment before applying them in production to ensure that everything works as expected.","readmeFilename":"README.md"}