{"id":15007902,"url":"https://github.com/jishnutu/loggerjs","last_synced_at":"2026-03-16T07:04:58.304Z","repository":{"id":143887426,"uuid":"125853901","full_name":"JishnuTU/loggerJS","owner":"JishnuTU","description":"console log in formal way for complex javascript applications","archived":false,"fork":false,"pushed_at":"2018-03-22T05:54:36.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T17:45:03.686Z","etag":null,"topics":["javascript","logger","logging","npm-package","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/JishnuTU.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":"2018-03-19T12:27:17.000Z","updated_at":"2018-10-24T09:41:08.000Z","dependencies_parsed_at":"2023-07-18T15:32:27.713Z","dependency_job_id":null,"html_url":"https://github.com/JishnuTU/loggerJS","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"dccc0552f409eff0f4fbb163984d621c1b136a2e"},"previous_names":["jishnu04/loggerjs"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JishnuTU%2FloggerJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JishnuTU%2FloggerJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JishnuTU%2FloggerJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JishnuTU%2FloggerJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JishnuTU","download_url":"https://codeload.github.com/JishnuTU/loggerJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243165537,"owners_count":20246725,"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":["javascript","logger","logging","npm-package","typescript"],"created_at":"2024-09-24T19:14:23.289Z","updated_at":"2025-12-26T07:24:36.443Z","avatar_url":"https://github.com/JishnuTU.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loggerJS\nconsole log in formal way for complex javascript applications\n\n\nUsage\n\nnpm install  logger-simple\n\nvar LoggerJS = require(\"logger-simple\");\n\nCreate a object as global in the js file:\n\n\nvar log_ = new LoggerJS.LoggerJS('#custom profile name');\n\n\nNow console your message using the functions:\n\n\nlog_.info('#message');\n\nlog_.info('#message',#data);\n\nlog_.info('#data');\n\nlog_.info('#message',#data,'#functionName');\n  \n  \nlog_.error('#message');\n\nlog_.error('#message',#data);\n\nlog_.error('#data');\n\nlog_.error('#message',#data,'#functionName');\n  \n  \nlog_.debug('#message');\n\nlog_.debug('#message',#data);\n\nlog_.debug(#data);\n\nlog_.debug('#message',#data,'#functionName')\n\n\nThe message ,function and custom profile name is expected as string.\n\n\nThe data can be anything array,object,...\n\nif used \"use strict\" then the function name cannot be acquired , you have to provide it as third parameter explictly.\n\nThe way the logging is done:\n\n\n[INFO]                     [#message] \n\n[2011-10-05T14:48:00.000Z] [#custom profile name : #functionName]\n\n[PAYLOAD]                  {\"sample\":\"test\"}\n\n- - - - - -\n\n[DEBUG]                    [#message] \n\n[2011-10-05T14:48:00.000Z] [#custom profile name : #functionName]\n\n[PAYLOAD]                   {\"sample\":\"test\"}\n\n- - - - - -\n\n[ERROR]                    [#message] \n\n[2011-10-05T14:48:00.000Z] [#custom profile name : #functionName]\n\n[PAYLOAD]                  {\"sample\":\"test\"}\n\n- - - - - -\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjishnutu%2Floggerjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjishnutu%2Floggerjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjishnutu%2Floggerjs/lists"}