{"id":19293198,"url":"https://github.com/jweyrich/tslogger","last_synced_at":"2026-05-13T12:39:56.417Z","repository":{"id":137209497,"uuid":"297193875","full_name":"jweyrich/tslogger","owner":"jweyrich","description":"[POC] A simple TypeScript library to handle logging","archived":false,"fork":false,"pushed_at":"2020-09-25T19:16:43.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-05T20:40:55.201Z","etag":null,"topics":["cloudwatch-logs","log","logger","logging","logging-library","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jweyrich.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":"2020-09-21T01:03:14.000Z","updated_at":"2024-04-11T15:50:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"84e3203e-7ad0-4998-9865-5e139191ebea","html_url":"https://github.com/jweyrich/tslogger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Ftslogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Ftslogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Ftslogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Ftslogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jweyrich","download_url":"https://codeload.github.com/jweyrich/tslogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240396586,"owners_count":19794703,"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":["cloudwatch-logs","log","logger","logging","logging-library","typescript"],"created_at":"2024-11-09T22:34:18.126Z","updated_at":"2025-10-24T03:05:43.471Z","avatar_url":"https://github.com/jweyrich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### TsLogger (NOT READY TO USE YET!)\n\nA simple TypeScript library to handle logging.\n\n#### How to install\n\n```\nnpm install https://github.com/jweyrich/tslogger#master\n```\n\n#### How to use\n\n```\nimport { TsLogger } from 'tslogger';\nconst logger = new TsLogger({ format: LogFormat.text, minLevel: LogLevel.TRACE });\nlogger.trace(\"message using the trace level\");\nlogger.debug(\"message using the debug level\");\nconst someContext = {\n    strProperty: \"value\",\n    boolProperty: false,\n    numberProperty: 3.1415,\n    nullProperty: null as string,\n    requestId: \"4f732a3d-d136-48d7-ae32-f5895a739413\",\n};\nlogger.info(\"message using the info level\", someContext);\nlogger.warn(\"message using the warn level\");\nlogger.error(\"message using the error level\", null, new Error(\"recoverable error\"));\nlogger.fatal(\"message using the fatal level\", null, new Error(\"fatal error\"));\ntry {\n    throw new RangeError('index out of bounds');\n} catch (e) {\n    logger.fatal(\"caught a fatal exception\", null, e);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweyrich%2Ftslogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjweyrich%2Ftslogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweyrich%2Ftslogger/lists"}