{"id":29167206,"url":"https://github.com/hexojs/hexo-log","last_synced_at":"2025-07-01T09:08:10.791Z","repository":{"id":3933354,"uuid":"51427022","full_name":"hexojs/hexo-log","owner":"hexojs","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-01T19:08:12.000Z","size":123,"stargazers_count":7,"open_issues_count":4,"forks_count":9,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-24T17:07:45.729Z","etag":null,"topics":["hexo","typescript"],"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/hexojs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-10T07:33:43.000Z","updated_at":"2024-07-15T21:21:06.000Z","dependencies_parsed_at":"2024-02-14T15:25:29.612Z","dependency_job_id":"41c1664d-7553-4ba1-bfab-0db2ff2163e6","html_url":"https://github.com/hexojs/hexo-log","commit_stats":{"total_commits":108,"total_committers":16,"mean_commits":6.75,"dds":0.7222222222222222,"last_synced_commit":"bfff8122b67e40eb9f2d0f6abde9445333965228"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/hexojs/hexo-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexojs","download_url":"https://codeload.github.com/hexojs/hexo-log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-log/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262933316,"owners_count":23386784,"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","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":["hexo","typescript"],"created_at":"2025-07-01T09:08:09.351Z","updated_at":"2025-07-01T09:08:10.771Z","avatar_url":"https://github.com/hexojs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-log\n\n[![CI](https://github.com/hexojs/hexo-log/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/hexojs/hexo-log/actions/workflows/ci.yml)\n[![NPM version](https://badge.fury.io/js/hexo-log.svg)](https://www.npmjs.com/package/hexo-log)\n[![Coverage Status](https://coveralls.io/repos/github/hexojs/hexo-log/badge.svg)](https://coveralls.io/github/hexojs/hexo-log)\n\nLogger for Hexo.\n\n## Installation\n\n``` bash\n$ npm install hexo-log --save\n```\n\n## Usage\n\n``` js\n// v3.x.x\nconst log = require('hexo-log')({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n\n// v4.x.x\nconst log = require('hexo-log').default({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n\n// v4.x.x (ES Module)\nimport { logger } from 'hexo-log';\n\nconst log = logger({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n```\n\nOption | Description | Default\n--- | --- | ---\n`debug` | Display debug message. | `false`\n`silent` | Don't display any message in console. | `false`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexojs%2Fhexo-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-log/lists"}