{"id":22319821,"url":"https://github.com/maheshwaghmare/pretty-js-logger","last_synced_at":"2025-03-26T04:27:22.898Z","repository":{"id":57330135,"uuid":"314575256","full_name":"maheshwaghmare/pretty-js-logger","owner":"maheshwaghmare","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-20T14:56:28.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T04:44:26.889Z","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/maheshwaghmare.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}},"created_at":"2020-11-20T14:19:01.000Z","updated_at":"2024-04-14T04:44:26.890Z","dependencies_parsed_at":"2022-09-10T10:38:03.105Z","dependency_job_id":null,"html_url":"https://github.com/maheshwaghmare/pretty-js-logger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshwaghmare%2Fpretty-js-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshwaghmare%2Fpretty-js-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshwaghmare%2Fpretty-js-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshwaghmare%2Fpretty-js-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maheshwaghmare","download_url":"https://codeload.github.com/maheshwaghmare/pretty-js-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245587926,"owners_count":20640028,"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-04T00:11:14.758Z","updated_at":"2025-03-26T04:27:22.880Z","avatar_url":"https://github.com/maheshwaghmare.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pretty JS Logger\n\nSee pretty javascript logs in the console.\n\n## Installation\n\n```sh\nnpm i pretty-js-logger\n```\n\n## Usage\n\n### Example 1: Simple Log Messages\n\nBelow is the simple example which dispaly the log messages.\n\n```js\nimport { log, info, success, error, warn } from 'pretty-js-logger';\n\n// Simple log with log message.\nlog('Simple log message.');\n\ninfo('Info log message');\n\nsuccess('Success log message');\n\nerror('Error log message');\n\nwarn('Warn log message');\n```\n\n**Screenshot**\n\n![Simple Log Message](simple-log-mess.png)\n\n### Example 2: Log Message with Data\n\nBelow is the example with log message with log data.\n\n```js\nimport { log, info, success, error, warn } from 'pretty-js-logger';\n\nconst data = {\n\tuser: {\n\t\tname: 'Mahesh M. Waghmare',\n\t\temail: 'mwaghmare7@gmail.com',\n\t},\n\tisLoggedIn: true,\n};\n\n\n// Log message with log data.\nlog('Simple log message.', data );\n\ninfo('Info log message', data );\n\nsuccess('Success log message', data);\n\nerror('Error log message', data);\n\nwarn('Warn log message', data);\n```\n\n**Screenshot**\n\n![Log message with log data](log-message-with-data.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshwaghmare%2Fpretty-js-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaheshwaghmare%2Fpretty-js-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshwaghmare%2Fpretty-js-logger/lists"}