{"name":"@changesets/logger","version":"1.0.0-next.3","license":"MIT","_id":"@changesets/logger@1.0.0-next.3","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"4f033890ec4cef469caf9532a4fc8b06af686409","tarball":"http://registry-npm.ywwl.com/@changesets/logger/download/@changesets/logger-1.0.0-next.3.tgz","fileCount":9,"integrity":"sha512-G1pudXTd3DgA3av/hYTe1RrQwuW/ivsueeQSI0hBW16YpSbxOzUUdAUyjswcgImS3Ag0Bizps0FUORes3kNtwA==","signatures":[{"sig":"MEUCIFSd9Q/i4jZ2TFeu/JpzfGjgvxJZYICQ9ekmxb9d+OZ2AiEA5iCq1oJqaCV7YzLEC4b6dbfsoLwHJDui3JPz6x4HEO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2flogger@1.0.0-next.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11423,"size":4097,"noattachment":false,"key":"/@changesets/logger/-/@changesets/logger-1.0.0-next.3.tgz"},"type":"module","engines":{"node":"^22.11 || ^24 || >=26"},"exports":{".":"./dist/index.mjs","./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":{"url":"git+https://github.com/changesets/changesets.git","type":"git","directory":"packages/logger"},"description":"Console log alias","directories":{},"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.5","@changesets/color":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/logger_1.0.0-next.3_1778689652308_0.9014399197032661","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":1778689652482,"_cnpm_publish_time":1778689652482,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.4"}}