{"id":20626634,"url":"https://github.com/roosoft/logger","last_synced_at":"2026-06-06T15:02:14.184Z","repository":{"id":144772078,"uuid":"135907791","full_name":"RooSoft/logger","owner":"RooSoft","description":"Manage application execution information","archived":false,"fork":false,"pushed_at":"2018-06-03T14:55:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T04:35:44.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RooSoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-03T13:44:40.000Z","updated_at":"2018-06-03T14:55:06.000Z","dependencies_parsed_at":"2023-04-26T00:02:50.683Z","dependency_job_id":null,"html_url":"https://github.com/RooSoft/logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RooSoft/logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RooSoft","download_url":"https://codeload.github.com/RooSoft/logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RooSoft%2Flogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33986901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"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":"2024-11-16T13:14:14.240Z","updated_at":"2026-06-06T15:02:14.131Z","avatar_url":"https://github.com/RooSoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logger\n\n## Manage application execution information\n\n### Environment variables\n\nLOG\\_LEVEL | Values\n--- | :---\nAvailable | `trace`, `debug`, `info`, `warn`, `error`\nDefault | `info`\n\nLOG\\_FORMAT | Values\n--- | :---\nAvailable | `raw`, `json`, `console`\nDefault | `console`\n\nLOG\\_DATE\\_FORMAT | Values\n--- | :---\nAvailable | see [moment.js](https://momentjs.com/docs/#/displaying/format) formats\nDefault | `YYYY-MM-DD`\n\nLOG\\_TIME\\_FORMAT | Values\n--- | :---\nAvailable | see [moment.js](https://momentjs.com/docs/#/displaying/format) formats\nDefault | `H:mm:ss.SSS `\n\n### How to use\n\nSetup environment log level and format environment variables in your application. When logging from files, first require this library.\n\n```javascript\nconst log = require('logger')\n```\n\nThen log in a similar way you would use `console.log`, except using one of these:\n \n* `log.trace`\n* `log.debug`\n* `log.info`\n* `log.warn`\n* `log.error`\n\n##### Example\n\n```javascript\nlog.info('what is happening right now')\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froosoft%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froosoft%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froosoft%2Flogger/lists"}