{"id":13808694,"url":"https://github.com/Xilerth/ngx-logger","last_synced_at":"2025-05-14T03:31:21.897Z","repository":{"id":239246727,"uuid":"798483129","full_name":"Xilerth/ngx-logger","owner":"Xilerth","description":"ngx-logger is a powerful Angular library designed to streamline the implementation of custom logging functionalities within Angular applications. This library empowers developers to seamlessly integrate custom logging solutions tailored to their specific requirements, enabling efficient debugging, monitoring, and analytics","archived":false,"fork":false,"pushed_at":"2024-05-29T08:24:51.000Z","size":1639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-13T06:30:57.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Xilerth.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T21:46:09.000Z","updated_at":"2024-05-23T21:31:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a79966b-74ef-4b20-8351-b55438aa1478","html_url":"https://github.com/Xilerth/ngx-logger","commit_stats":null,"previous_names":["xilerth/logger","xilerth/ngx-logger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xilerth%2Fngx-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xilerth%2Fngx-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xilerth%2Fngx-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xilerth%2Fngx-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xilerth","download_url":"https://codeload.github.com/Xilerth/ngx-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225273260,"owners_count":17448074,"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-08-04T01:01:49.491Z","updated_at":"2024-11-19T00:31:00.678Z","avatar_url":"https://github.com/Xilerth.png","language":"TypeScript","readme":"# NGX Logger\n\n## Installation\n\nYou can install the ngx-logger package using npm:\n`npm install @Xilerth/ngx-logger`\n\n## USE\nImport the LoggerService in your component or service:\n\n```\ntypescript\n\n@Component({\n  selector: 'app-my-component',\n  template: '\u003cp\u003eMy Component\u003c/p\u003e',\n})\nexport class MyComponent {\n  constructor(private loggerService: LoggerService) {}\n\n  logMessage() {\n    this.loggerService.log({\n      log: 'info',\n      message: 'This is an info message',\n    });\n  }\n}\n```\n\n## API\n\n### log(data: Logger)\n\nLogs a message with the specified log type and style.\n\n- `data`: An object containing the following properties:\n  - `log`: The log type (e.g., 'info', 'warn', 'error', 'log', 'table').\n  - `message`: The message to log.\n  - `color`: The color of the message (optional).\n  - `weight`: The font weight of the message (optional).\n  - `showTime`: Whether to show the timestamp (optional, default: false).\n  - `title`: The title of the log message (optional).\n  - `disabled`: Whether logging is disabled (optional, default: false).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Loggers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXilerth%2Fngx-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXilerth%2Fngx-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXilerth%2Fngx-logger/lists"}