{"id":23276276,"url":"https://github.com/dinoscapeprogramming/log4j","last_synced_at":"2025-04-06T11:45:12.372Z","repository":{"id":144663940,"uuid":"463140442","full_name":"DinoscapeProgramming/log4j","owner":"DinoscapeProgramming","description":"A simple log package for JavaScript","archived":false,"fork":false,"pushed_at":"2022-02-24T16:02:33.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T17:28:35.253Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DinoscapeProgramming.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":"2022-02-24T12:30:12.000Z","updated_at":"2022-02-24T12:31:04.000Z","dependencies_parsed_at":"2024-03-30T23:15:27.184Z","dependency_job_id":null,"html_url":"https://github.com/DinoscapeProgramming/log4j","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Flog4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Flog4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Flog4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Flog4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DinoscapeProgramming","download_url":"https://codeload.github.com/DinoscapeProgramming/log4j/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478254,"owners_count":20945262,"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":[],"created_at":"2024-12-19T21:30:18.615Z","updated_at":"2025-04-06T11:45:12.355Z","avatar_url":"https://github.com/DinoscapeProgramming.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log for JavaScript (log4j)\nA simple log package for JavaScript\n\n## Documentation\n### Require the package\n```js\nconst log = require('./log4j.js')\n```\n\n### Logging a simple message\n```js\nlog(\"Hey Guys!\")\n```\n#### Result\n```\nHey Guys\n```\n\n### Using elements\n```js\nlog(\"Hey {}! What's up {}\", [\"Guys\", \"lol\"])\n```\n#### Result\n```\nHey Guys! What's up lol\n```\n\n## Example\n```js\nconst log = require('./log4j.js');\nconst settings = {\n  first: \"test\",\n  second: \"package\",\n  third: \"nice\"\n};\n\nlog(\"Hey {}, what's {}? Welcome to {}. Have {}!\", [\"guys\", \"up\", \"log4j\", \"fun\"])\n\nlog(\"Hey, this is a {}. This {} is {}!\", [settings.first, settings.second, settings.third])\n```\n\n## Note\nTHIS PACKAGE IS DEPRECATED! PLEASE USE THIS:\n```js\nconst settings = {\n  first: \"Guys\",\n  second: \"lol\"\n}\nconsole.log(`Hey ${settings.first}! What's up ${settings.second}`)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Flog4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinoscapeprogramming%2Flog4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Flog4j/lists"}