{"id":23377953,"url":"https://github.com/beyondjs/log","last_synced_at":"2026-01-19T09:34:20.228Z","repository":{"id":257017334,"uuid":"856562831","full_name":"beyondjs/log","owner":"beyondjs","description":"A simple and lightweight logging utility for BeyondJS applications. This package provides an easy-to-use function for logging messages and errors, enhancing debugging and error tracking in Beyond.js projects. Ideal for developers looking for a straightforward logging solution in their BeyondJS ecosystem.","archived":false,"fork":false,"pushed_at":"2024-09-13T23:02:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-23T17:16:08.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/beyondjs.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":"2024-09-12T19:39:37.000Z","updated_at":"2024-09-13T23:02:40.000Z","dependencies_parsed_at":"2024-09-14T10:50:57.130Z","dependency_job_id":"19616db3-5625-4222-a328-200b58805d17","html_url":"https://github.com/beyondjs/log","commit_stats":null,"previous_names":["beyondjs/log"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beyondjs/log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Flog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Flog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Flog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Flog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyondjs","download_url":"https://codeload.github.com/beyondjs/log/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyondjs%2Flog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-21T18:33:34.836Z","updated_at":"2026-01-19T09:34:20.214Z","avatar_url":"https://github.com/beyondjs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @beyond-js/log\n\nA simple logging utility for BeyondJs applications.\n\n## Installation\n\n```bash\nnpm install @beyond-js/log\n```\n\n## Usage\n\nThis package provides a simple logging function that can be used to log messages and errors in your Beyond.js\napplications.\n\n```javascript\nconst log = require('@beyond-js/log');\n\n// Log a simple message\nlog('Hello, world!');\n\n// Log a message with an error\ntry {\n\t// Some code that might throw an error\n} catch (error) {\n\tlog('An error occurred', error);\n}\n```\n\n## API\n\n### `log(message, [error])`\n\n-   `message` (string): The message to log.\n-   `error` (Error, optional): An error object to log along with the message.\n\nThis function logs the provided message to the console. If an error object is provided, it will also log the error stack\ntrace.\n\n## License\n\nMIT © [[BeyondJS](https://beyondjs.com)]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondjs%2Flog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyondjs%2Flog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyondjs%2Flog/lists"}