{"name":"@changesets/logger","version":"1.0.0-next.2","license":"MIT","_id":"@changesets/logger@1.0.0-next.2","maintainers":[{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"2cdf58742e91d6fdee8a0697ffde242adfca4627","tarball":"http://registry-npm.ywwl.com/@changesets/logger/download/@changesets/logger-1.0.0-next.2.tgz","fileCount":9,"integrity":"sha512-TrBurahzd74jG8GpQygHWCbi5XePqPtGQZ3mV7GGXG1xobyxqUzmG8458pt9ayQlMCEVk3jRQE/jTi+JGv58Lg==","signatures":[{"sig":"MEUCIQCxenoHvAjhksxWDLcflusoMvc4ap3+uowYKWRQQSSImwIgDT6qRUwsf4M+aJv9RKcU0sVXMEozAoHMgRK06lVLqS8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2flogger@1.0.0-next.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10960,"size":4044,"noattachment":false,"key":"/@changesets/logger/-/@changesets/logger-1.0.0-next.2.tgz"},"type":"module","engines":{"node":"^22.11 || ^24 || >=26"},"exports":{".":"./dist/changesets-logger.js","./package.json":"./package.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:db331ce6-7578-469b-b540-9bfffcb5265e"}},"repository":"https://github.com/changesets/changesets/tree/main/packages/logger","description":"Console log alias","directories":{},"_nodeVersion":"25.9.0","dependencies":{"picocolors":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/logger_1.0.0-next.2_1778164591296_0.45855222467426926","host":"s3://npm-registry-packages-npm-production"},"readme":"## @changesets/logger\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/@changesets/logger?name=true)](https://npmx.dev/package/@changesets/logger)\n[![View changelog](https://npmx.dev/api/registry/badge/version/@changesets/cli?color=229fe4&value=View+changelog&label=+)](./CHANGELOG.md)\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":1778164591450,"_cnpm_publish_time":1778164591450,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.4"}}