{"id":26976859,"url":"https://github.com/bexcool/bxclog","last_synced_at":"2026-04-14T04:31:49.455Z","repository":{"id":57192034,"uuid":"319950409","full_name":"bexcool/bxclog","owner":"bexcool","description":"BeXCool Logger Utility","archived":false,"fork":false,"pushed_at":"2024-02-27T17:06:58.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-05T14:54:26.319Z","etag":null,"topics":["brackets","javascript","logging","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bexcool.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,"zenodo":null}},"created_at":"2020-12-09T12:31:04.000Z","updated_at":"2025-07-27T06:06:08.000Z","dependencies_parsed_at":"2025-07-14T05:36:09.770Z","dependency_job_id":"802ef6a9-8caf-426a-962a-532d2c6e39a1","html_url":"https://github.com/bexcool/bxclog","commit_stats":null,"previous_names":["spejik/bxclog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bexcool/bxclog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bexcool%2Fbxclog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bexcool%2Fbxclog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bexcool%2Fbxclog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bexcool%2Fbxclog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bexcool","download_url":"https://codeload.github.com/bexcool/bxclog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bexcool%2Fbxclog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["brackets","javascript","logging","typescript"],"created_at":"2025-04-03T12:17:14.216Z","updated_at":"2026-04-14T04:31:49.440Z","avatar_url":"https://github.com/bexcool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BXCLog\n\nBeXCool Logger  \nA simple logging utility module\n\n## How to use\n\n- [Javascript](#javascript)  \n- [Typescript](#typescript)  \n\n## Options\n\nNote: Some options may have a different syntax to better match the language\n\n### locale\n\nType: `string`  \nDefault: `\"auto\"`  \nAny locale code (eg. en-GB, de-DE, en-US)  \nUse \"auto\" to set automatically from OS.\n\n### timeZone\n\nType: `string`  \nDefault: `\"auto\"`  \nAny [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)  \nUse \"auto\" to set automatically from OS.\n\n### brackets\n\nType: `string`  \nDefault: `\"[]\"`  \nWhich type of brackets to use.  \nAvailable options (Note: Any field is a valid option)\n\n| Shape  | Name        | Character |\n| ------ | ----------- | --------- |\n| round  | parentheses | ( )       |\n| square | box         | [ ]       |\n| braces | curly       | { }       |\n| angle  | chevrons    | \u003c \u003e       |\n\n### saveToFile\n\nType: `boolean`  \nDefault: `false`  \nShould the log be saved into a file?\n\n### saveFilePath\n\nType: `string`  \nDefault: `\"logs\"`  \nWhere should the file be saved?  \n[SaveToFile](#saveToFile) must be enabled for this to have effect.  \nRelative to the entry point (eg. index.js, app.exe, ...).\n\n### showDebug\n\nType: `boolean`  \nDefault: `true`  \nChanges whether the debug method displays anything.  \nShould be changed by the value of an environment variable (eg. `environment == \"release\"`)\n\n## Javascript\n\nInstall with npm:  \n`npm install bxclog`\n\nExample code:\n\n```js\nconst { BXCLog } = require(\"bxclog\");\n\n/**\n * This BXCLog instance should be stored in a file like \"lib.js\" \n * in the exports object.\n * You can save a lot of performance and resources by doing that, \n * because creating new instances every time you need to log \n * something will have a negative impact on performance\n */\nconst bxclogger = new BXCLog({\n    saveToFile: true,\n    brackets:   \"\u003c\u003e\",\n});\n\nconst service = \"CatsService\";\nbxclogger.debug(\"process.argv\", process.argv.join(\", \"));\nbxclogger.info(service, \"purr... meow, meow!\", \"we think the number\", Math.random(), \"is really cool... meow 😺\");\nbxclogger.warn(service, \n  \"The cats are hungry\", \"\\n\", \"You better go feed them right now \\n\", \n  \"They also said that they need exactly this many kilos of food:\", 68429796945127451n, \"...it should be enough for about one and a half days 😼\");\nbxclogger.error(service, \"The cats are really hungry and are starting to delete your programs 😠 Go feed them right now 🚔👮‍♂️\");\n```\n\n## Typescript\n\nInstall with npm:\n\n`npm install bxclog`\n\nExample code:\n\n```ts\nimport { BXCLog } from \"bxclog\";\n\n/**\n * You can copy the rest of the code from Javascript, \n * The only difference is that instead of the \"exports\" object you use es6 export (\"export const bxclogger = ...\")\n */\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbexcool%2Fbxclog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbexcool%2Fbxclog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbexcool%2Fbxclog/lists"}