{"id":28090527,"url":"https://github.com/oschweitzer/woodcutter","last_synced_at":"2025-05-13T13:04:14.611Z","repository":{"id":29239156,"uuid":"118253222","full_name":"oschweitzer/woodcutter","owner":"oschweitzer","description":"A small logger based on winston and developed in TypeScript","archived":false,"fork":false,"pushed_at":"2022-12-30T21:01:12.000Z","size":265,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T01:04:04.206Z","etag":null,"topics":["logging","nodejs","npm","typescript","winston"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oschweitzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-20T15:07:22.000Z","updated_at":"2022-04-12T08:42:34.000Z","dependencies_parsed_at":"2023-01-14T14:27:18.855Z","dependency_job_id":null,"html_url":"https://github.com/oschweitzer/woodcutter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschweitzer%2Fwoodcutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschweitzer%2Fwoodcutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschweitzer%2Fwoodcutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oschweitzer%2Fwoodcutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oschweitzer","download_url":"https://codeload.github.com/oschweitzer/woodcutter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948416,"owners_count":21988953,"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":["logging","nodejs","npm","typescript","winston"],"created_at":"2025-05-13T13:01:09.115Z","updated_at":"2025-05-13T13:04:14.602Z","avatar_url":"https://github.com/oschweitzer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WoodCutter\n\nWoodCutter is a small logger based on winston and developed in TypeScript.\n\n## Install\n\n```bash\nnpm install --save woodcutter\n```\n\n## Run tests\n\n```bash\nnpm run test\n```\n\n## Usage\n\n```typescript\nimport {LogLevel} from '../lib/log-level.enum';\nimport {WoodCutter} from '../lib/woodcutter';\n\nfunction main() {\n  const woodcutter = new WoodCutter({\n    level: LogLevel.SILLY\n  });\n  woodcutter.debug(\"Hey debug\", 5, \"test\", {\"hello\": \"world\"});\n  woodcutter.info(\"Hey info\");\n  woodcutter.error(\"Hey error\");\n  woodcutter.verbose(\"Hey verbose\");\n  woodcutter.warn(\"Hey warn\");\n  woodcutter.silly(\"Hey silly\");\n  woodcutter.log('verbose', \"Hey log info\");\n}\n\nmain();\n```\n\nConsole output:\n\n![woodcutter logs screenshot](assets/woodcutter_logs.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschweitzer%2Fwoodcutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foschweitzer%2Fwoodcutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foschweitzer%2Fwoodcutter/lists"}