{"id":25842753,"url":"https://github.com/nir3x/logger","last_synced_at":"2026-06-15T09:31:38.062Z","repository":{"id":217953030,"uuid":"745220712","full_name":"NIR3X/logger","owner":"NIR3X","description":"Logger Package - A Simple Logging Utility for Go Applications","archived":false,"fork":false,"pushed_at":"2024-02-16T04:03:56.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T06:32:04.247Z","etag":null,"topics":["go","golang","logger","logging","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NIR3X.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}},"created_at":"2024-01-18T21:52:29.000Z","updated_at":"2024-01-18T21:53:41.000Z","dependencies_parsed_at":"2024-01-20T17:46:43.099Z","dependency_job_id":"5d0867a0-54db-4e9f-983b-617d2c99f976","html_url":"https://github.com/NIR3X/logger","commit_stats":null,"previous_names":["nir3x/logger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NIR3X/logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NIR3X","download_url":"https://codeload.github.com/NIR3X/logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NIR3X%2Flogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34357281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["go","golang","logger","logging","utility"],"created_at":"2025-03-01T06:31:35.504Z","updated_at":"2026-06-15T09:31:38.041Z","avatar_url":"https://github.com/NIR3X.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logger Package - A Simple Logging Utility for Go Applications\n\nThe `logger` package provides a simple logging utility for Go applications, allowing you to easily log messages with timestamps, file information, and custom prefixes.\n\n## Installation\n\nTo use this package in your Go project, you can install it using the following command:\n\n```bash\ngo get -u github.com/NIR3X/logger\n```\n\n## Usage\n\nImport the package in your Go code:\n\n```go\nimport \"github.com/NIR3X/logger\"\n```\n\n## Fprintln\n\nThe `Fprintln` function writes formatted log messages to the specified `io.Writer` with a timestamp, file information, and additional content. Example:\n\n```go\nlogger.Fprintln(os.Stdout, \"This is a log message.\")\n```\n\n## Eprintln\n\nThe `Eprintln` function writes formatted error messages to the standard error stream with a timestamp, file information, and the \"error:\" prefix. Example:\n\n```go\nlogger.Eprintln(\"This is an error message.\")\n```\n\n## Println\n\nThe `Println` function writes formatted log messages to the standard output with a timestamp and file information. Example:\n\n```go\nlogger.Println(\"This is another log message.\")\n```\n\nFeel free to explore and adapt the functions to suit your logging needs.\n\n## License\n\n[![GNU AGPLv3 Image](https://www.gnu.org/graphics/agplv3-155x51.png)](https://www.gnu.org/licenses/agpl-3.0.html)\n\nThis program is Free Software: You can use, study share and improve it at your\nwill. Specifically you can redistribute and/or modify it under the terms of the\n[GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html) as\npublished by the Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnir3x%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnir3x%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnir3x%2Flogger/lists"}