{"name":"@changesets/logger","version":"0.1.1","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":{"picocolors":"^1.1.0"},"_id":"@changesets/logger@0.1.1","gitHead":"c867f32d0c25cfb2a6b518bc1f9880f758beb157","types":"./dist/changesets-logger.cjs.d.ts","bugs":{"url":"https://github.com/changesets/changesets/issues"},"homepage":"https://github.com/changesets/changesets/tree/main#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==","shasum":"9926ac4dc8fb00472fe1711603b6b4755d64b435","tarball":"http://registry-npm.ywwl.com/@changesets/logger/download/@changesets/logger-0.1.1.tgz","fileCount":13,"unpackedSize":10081,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEYOgyN1X4ps8gHOf39xfyDivx0K9Qq/7H9UnYqHP0WnAiEA5rgO+RXCbhfCkbnsk1I+a8+Eai9C0qdRCoeX/e4pe7I="}],"size":3164,"noattachment":false,"key":"/@changesets/logger/-/@changesets/logger-0.1.1.tgz"},"_npmUser":{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_0.1.1_1725445504511_0.9081546488381897"},"_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":1725445504720,"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"}],"_cnpm_publish_time":1725445504720,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.4"}}