{"name":"@changesets/logger","version":"0.1.0","description":"Console log alias","main":"dist/changesets-logger.cjs.js","module":"dist/changesets-logger.esm.js","exports":{".":{"types":{"import":"./dist/changesets-logger.cjs.mjs","default":"./dist/changesets-logger.cjs.js"},"module":"./dist/changesets-logger.esm.js","import":"./dist/changesets-logger.cjs.mjs","default":"./dist/changesets-logger.cjs.js"},"./package.json":"./package.json"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/changesets/changesets.git#main"},"dependencies":{"chalk":"^2.1.0"},"types":"./dist/changesets-logger.cjs.d.ts","gitHead":"3c0349638ac94c62fe270940ec0560dba6ff4997","bugs":{"url":"https://github.com/changesets/changesets/issues"},"homepage":"https://github.com/changesets/changesets/tree/main#readme","_id":"@changesets/logger@0.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-pBrJm4CQm9VqFVwWnSqKEfsS2ESnwqwH+xR7jETxIErZcfd1u2zBSqrHbRHR7xjhSgep9x2PSKFKY//FAshA3g==","shasum":"2d2a58536c5beeeaef52ab464931d99fcf24f17b","tarball":"http://registry-npm.ywwl.com/@changesets/logger/download/@changesets/logger-0.1.0.tgz","fileCount":13,"unpackedSize":9812,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcN7WYZh3xlwebG1useTpD7EB8j+WoW+WhTeuJ58fIxAiEAzTmGJsHFZeyyzdd9eu8NGWu3kuTAxHxPtn4rq7wfGGw="}],"size":3054,"noattachment":false,"key":"/@changesets/logger/-/@changesets/logger-0.1.0.tgz"},"_npmUser":{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},"directories":{},"maintainers":[{"name":"andarist","email":"mateuszburzynski@gmail.com"},{"name":"emmatown","email":"npm@emmas.town"},{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_0.1.0_1701153632779_0.01076895788778387"},"_hasShrinkwrap":false,"readme":"## @changesets/logger\n\n[![View changelog](https://img.shields.io/badge/changelogs.xyz-Explore%20Changelog-brightgreen)](https://changelogs.xyz/@changesets/logger)\n\n### Usage\n\n```js\nimport { error } from '@changesets/logger\";\n\nerror('message part 1', 'message part 2');\n```\n\n### Package Exports\n\n**error**: Use `error` to print error messages upon which users which immediately action to complete the task.\n\n**info**: Use `info` to print informational messages to user.\n\n**log**: Use `log` to print messages don't fall in any other specific category. For example, message to show title of the step being performed by the changesets tool.\n\n**success**: Use `success` to assert to users that their instructions have completed successfully.\n\n**warn**: Use `warn` to print warning messages, something that user could action on now or later without much impact of their work.\n\n### Silencing Messages In Tests\n\nUse the `@changesets/test-utils` package to silence the logs in test cases.\n\nFor example:\n\n```js\nimport { temporarilySilenceLogs } from \"@changesets/test-utils\";\nimport { log } from \"@changesets/logger\";\n\ntemporarilySilenceLogs();\n\n// Now the logs in this test file are not actually logged to std out\nlog(\"I am not logged\");\n\n// Use console.log to log messages in tests if required\nconsole.log(\"Yay, I am logged\");\n```\n","publish_time":1701153632960,"_cnpm_publish_time":1701153632960,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.4"}}