{"id":13725524,"url":"https://github.com/blackxored/apollo-link-logger","last_synced_at":"2025-04-04T21:08:57.101Z","repository":{"id":40295190,"uuid":"110858145","full_name":"blackxored/apollo-link-logger","owner":"blackxored","description":"A logger for Apollo Link that resembles redux-logger","archived":false,"fork":false,"pushed_at":"2023-02-22T01:59:48.000Z","size":2021,"stargazers_count":160,"open_issues_count":37,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-01T05:22:57.900Z","etag":null,"topics":["apollo-client","apollo-link","logging"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackxored.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-11-15T16:27:14.000Z","updated_at":"2024-03-29T04:10:11.000Z","dependencies_parsed_at":"2024-03-29T10:55:13.049Z","dependency_job_id":"80df15f3-f296-4dce-bdf6-b8ded58e25e7","html_url":"https://github.com/blackxored/apollo-link-logger","commit_stats":null,"previous_names":["blackxored/apollo-link-logger","xoredg/apollo-link-logger"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackxored%2Fapollo-link-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackxored%2Fapollo-link-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackxored%2Fapollo-link-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackxored%2Fapollo-link-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackxored","download_url":"https://codeload.github.com/blackxored/apollo-link-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249527,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apollo-client","apollo-link","logging"],"created_at":"2024-08-03T01:02:26.006Z","updated_at":"2025-04-04T21:08:57.071Z","avatar_url":"https://github.com/blackxored.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# apollo-link-logger\n\n\u003e A logger for Apollo Link that resembles redux-logger\n\n[![Semantically Released][semantic-release-badge]][semantic-release]\n[![Build Status][build-badge]][build]\n[![Code Coverage][coverage-badge]][coverage]\n[![version][version-badge]][package]\n[![downloads][downloads-badge]][npmtrends]\n[![Styled with Prettier][prettier-badge]][prettier]\n[![AirBnB style guide][airbnb-style-badge]][airbnb-style]\n\n[![MIT License][license-badge]][LICENSE]\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n[![PRs Welcome][prs-badge]][prs]\n[![Commitizen friendly][commitizen-badge]][commitizen]\n[![Code of Conduct][coc-badge]][coc]\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\nLogger for Apollo Link that uses a similar format to redux-logger. Includes performance information.\n\n## Installing / Getting Started\n\nThese instructions will get you a copy of the project up and running on your\nlocal machine for development and testing purposes. \n\nA quick introduction of the minimal setup you need to get a hello world up \u0026 running.\n\n```shell\nnpm install apollo-link-logger\n```\n\n### Prerequisites\n\n* Apollo Link.\n\n### Usage\n\n```javascript\nimport apolloLogger from 'apollo-link-logger';\n\n// ...\nApolloLink.from([\n  apolloLogger,\n  // ...\n]);\n```\n\n## Screenshots\n\n### Query (expanded):\n\n![Query Expanded](https://github.com/blackxored/apollo-link-logger/blob/master/docs/example-output.png)\n\n### Mutation (expanded):\n\n![Mutation Expanded](https://github.com/blackxored/apollo-link-logger/blob/master/docs/example-output-mutation.png)\n\n### Within other logging statements:\n\n![Full](https://github.com/blackxored/apollo-link-logger/blob/master/docs/example-output-full.png)\n\n## Usage with React Native and other restricted environments\n\nWe include a polyfilled version of `console.groupCollapsed` and `console.groupEnd` that\ninvokes `console.log` with slightly different prefix to separate output.\n\n## Developing\n\n### Setting up Dev\n\nHere's a brief intro about what a developer must do in order to start \ndeveloping the project further:\n\n```shell\ngit clone https://github.com/blackxored/apollo-link-logger\ncd apollo-link-logger\nyarn\n```\n\n## Versioning\n\nWe use [SemVer][semver] for versioning. In addition, it's automatic via\n[semantic-release][semantic-release], and our [commit convention][commit-convention].\n\nFor the versions available, see the [Releases][releases] on this repository.\n\n## Style guide\n\nWe base our code style on [AirBnB's style guide][airbnb-style] and we check with \n[ESLint][eslint] and automatically format our code with [Prettier][prettier].\n\n## License\n\nThis project is licensed under the MIT License - see the \n[license] file for details.\n\n## Contributing\n\nIf you're interested in contributing to this project in any form, please read\nour [Contribution Guidelines][contributing].\n\n### Code of Conduct\n\nWe've adopted a Code of Conduct that we expect project participants to adhere to.\nPlease read the [full text][coc] so that you can understand what actions \nwill and will not be tolerated.\n\n### Contributors\n\nThanks goes to these people ([emoji key][emojis]):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| [\u003cimg src=\"https://avatars3.githubusercontent.com/u/133308?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAdrian Perez\u003c/b\u003e\u003c/sub\u003e](https://adrianperez.codes)\u003cbr /\u003e[💻](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored \"Code\") [📖](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored \"Documentation\") [🚇](#infra-blackxored \"Infrastructure (Hosting, Build-Tools, etc)\") [⚠️](https://github.com/blackxored/apollo-link-logger/commits?author=blackxored \"Tests\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/294597?s=460\u0026v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAdam Savitzky\u003c/b\u003e\u003c/sub\u003e](https://github.com/adambom)\u003cbr /\u003e[💻](https://github.com/blackxored/apollo-link-logger/commits?author=adambom \"Code\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/3065138?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eIfeanyi Oraelosi\u003c/b\u003e\u003c/sub\u003e](https://github.com/gnerkus)\u003cbr /\u003e[💻](https://github.com/blackxored/apollo-link-logger/commits?author=gnerkus \"Code\") | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/7076981?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRomario\u003c/b\u003e\u003c/sub\u003e](https://github.com/romarioraffington)\u003cbr /\u003e[🐛](https://github.com/blackxored/apollo-link-logger/issues?q=author%3Aromarioraffington \"Bug reports\") [🤔](#ideas-romarioraffington \"Ideas, Planning, \u0026 Feedback\") | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/6183943?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYuriy Kornienko\u003c/b\u003e\u003c/sub\u003e](http://www.dinamchiki.ru)\u003cbr /\u003e[💻](https://github.com/blackxored/apollo-link-logger/commits?author=Horoshiy \"Code\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/2717746?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDmitry Shvedov\u003c/b\u003e\u003c/sub\u003e](https://github.com/dmt0)\u003cbr /\u003e[💻](https://github.com/blackxored/apollo-link-logger/commits?author=dmt0 \"Code\") |\n| :---: | :---: | :---: | :---: | :---: | :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors][all-contributors] specification.\nContributions of any kind welcome!\n\n\n[npm]: https://www.npmjs.com/\n[node]: https://nodejs.org\n[build-badge]: https://img.shields.io/travis/blackxored/apollo-link-logger.svg?style=flat-square\n[build]: https://travis-ci.org/blackxored/apollo-link-logger\n[coverage-badge]: https://img.shields.io/codecov/c/github/blackxored/apollo-link-logger.svg?style=flat-square\n[coverage]: https://codecov.io/github/blackxored/apollo-link-logger\n[version-badge]: https://img.shields.io/npm/v/apollo-link-logger.svg?style=flat-square\n[package]: https://www.npmjs.com/package/apollo-link-logger\n[downloads-badge]: https://img.shields.io/npm/dm/apollo-link-logger.svg?style=flat-square\n[npmtrends]: http://www.npmtrends.com/apollo-link-logger\n[license-badge]: https://img.shields.io/npm/l/apollo-link-logger.svg?style=flat-square\n[license]: https://github.com/blackxored/apollo-link-logger/blob/master/LICENSE.md\n[semantic-release]: https://github.com/semantic-release/semantic-release\n[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\n[commitizen-badge]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\n[commitizen]: http://commitizen.github.io/cz-cli/\n[prettier-badge]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square\n[prettier]: https://github.com/prettier/prettier \n[airbnb-style-badge]: https://img.shields.io/badge/code%20style-airbnb-green.svg?style=flat-square\n[airbnb-style]: https://github.com/airbnb/javascript\n[eslint]: http://eslint.org \n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[donate-badge]: https://img.shields.io/badge/$-support-green.svg?style=flat-square\n[contributing]: https://github.com/blackxored/apollo-link-logger/blob/master/CONTRIBUTING.md\n[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[coc]: https://github.com/blackxored/apollo-link-logger/blob/master/CODE_OF_CONDUCT.md\n[github-watch-badge]: https://img.shields.io/github/watchers/blackxored/apollo-link-logger.svg?style=social\n[github-watch]: https://github.com/blackxored/apollo-link-logger/watchers\n[github-star-badge]: https://img.shields.io/github/stars/blackxored/apollo-link-logger.svg?style=social\n[github-star]: https://github.com/blackxored/apollo-link-logger/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20apollo-link-logger%20by%20%40blackxored%20https%3A%2F%2Fgithub.com%2Fblackxored%2Fapollo-link-logger%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/blackxored/apollo-link-logger.svg?style=social\n[emojis]: https://github.com/kentcdodds/all-contributors#emoji-key\n[all-contributors]: https://github.com/kentcdodds/all-contributors\n[semver]: http://semver.org/\n[releases]: https://github.com/blackxored/apollo-link-logger/releases\n[commit-convention]: https://www.npmjs.com/package/@commitlint/config-conventional\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackxored%2Fapollo-link-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackxored%2Fapollo-link-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackxored%2Fapollo-link-logger/lists"}