{"id":24437545,"url":"https://github.com/adrielcodeco/vscode-extensions-logging","last_synced_at":"2025-08-01T05:12:58.576Z","repository":{"id":37961980,"uuid":"293133002","full_name":"adrielcodeco/vscode-extensions-logging","owner":"adrielcodeco","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-23T14:01:54.000Z","size":1591,"stargazers_count":0,"open_issues_count":27,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T16:05:35.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/adrielcodeco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-05T18:31:31.000Z","updated_at":"2020-09-13T21:27:58.000Z","dependencies_parsed_at":"2023-02-12T23:46:05.708Z","dependency_job_id":null,"html_url":"https://github.com/adrielcodeco/vscode-extensions-logging","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/adrielcodeco/vscode-extensions-logging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrielcodeco%2Fvscode-extensions-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrielcodeco%2Fvscode-extensions-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrielcodeco%2Fvscode-extensions-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrielcodeco%2Fvscode-extensions-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrielcodeco","download_url":"https://codeload.github.com/adrielcodeco/vscode-extensions-logging/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrielcodeco%2Fvscode-extensions-logging/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268171959,"owners_count":24207437,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-20T18:16:59.478Z","updated_at":"2025-08-01T05:12:58.537Z","avatar_url":"https://github.com/adrielcodeco.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1\u003evscode-extensions-logging\u003c/h1\u003e\n\u003c/p\u003e\n\nThis package help to control the logging on vscode extensions using `winston`.\n\n## Install\n\nusing npm\n\n```bash\nnpm i -D vscode-extensions-logging\n```\n\nusing yarn\n\n```bash\nyarn add -D vscode-extensions-logging\n```\n\n## How to use it `?`\n\nCall `ExtensionsLogging.register` static method on `ExtensionsLogging` class passing the extension name or extension id, this extension name will appear in output window on vscode\n\n**example:**\n\n```typescript\nimport { ExtensionsLogging } from 'vscode-extensions-logging'\n\nexport function activate (context: vscode.ExtensionContext) {\n  const EXTENSION_ID = 'extension.name'\n  const logger = ExtensionsLogging.register(EXTENSION_ID)\n  logger.info('initializing extension')\n}\n```\n\nTo control the log level, pass the log level on register. Default log level: `info`\n\n```typescript\nExtensionsLogging.register(EXTENSION_ID, 'warn')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrielcodeco%2Fvscode-extensions-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrielcodeco%2Fvscode-extensions-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrielcodeco%2Fvscode-extensions-logging/lists"}