{"id":20862540,"url":"https://github.com/ishotihadus/google_cloud_logging_extension","last_synced_at":"2025-12-28T04:15:07.480Z","repository":{"id":62559546,"uuid":"498765752","full_name":"Ishotihadus/google_cloud_logging_extension","owner":"Ishotihadus","description":"Extension of google-cloud-logging gem.","archived":false,"fork":false,"pushed_at":"2022-06-05T06:49:07.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T08:48:47.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Ishotihadus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-01T14:16:13.000Z","updated_at":"2022-06-01T14:16:26.000Z","dependencies_parsed_at":"2022-11-03T12:15:20.799Z","dependency_job_id":null,"html_url":"https://github.com/Ishotihadus/google_cloud_logging_extension","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishotihadus%2Fgoogle_cloud_logging_extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishotihadus%2Fgoogle_cloud_logging_extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishotihadus%2Fgoogle_cloud_logging_extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishotihadus%2Fgoogle_cloud_logging_extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ishotihadus","download_url":"https://codeload.github.com/Ishotihadus/google_cloud_logging_extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243236207,"owners_count":20258802,"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-11-18T05:24:24.523Z","updated_at":"2025-12-28T04:15:07.402Z","avatar_url":"https://github.com/Ishotihadus.png","language":"Ruby","readme":"# GoogleCloudLoggingExtension\n\nExtension of google-cloud-logging gem.\n\nThis extension provides `Google::Cloud::Logging.create` method.\n\nThis gem also converts exceptions into json payload.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add google_cloud_logging_extension\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install google_cloud_logging_extension\n\n## Usage\n\n### Use default extension\n\n```ruby\nrequire 'google_cloud_logging_extension'\n\nlogger = Google::Cloud::Logging.create('test')\n# logger = Google::Cloud::Logging.create('test', 'gce_project', hoge: 'fuga')\n\nlogger.info('hoge')\n\nbegin\n  5 / 0\nrescue\n  logger.error($!)\nend\n```\n\n### Use roda plugin\n\n```ruby\nrequire 'google_cloud_logging_extension/roda_plugin'\n\nclass App \u003c Roda\n  plugin :google_cloud_logging, log_name: 'name', labels: { hoge: 'fuga' }\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ishotihadus/google_cloud_logging_extension.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishotihadus%2Fgoogle_cloud_logging_extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishotihadus%2Fgoogle_cloud_logging_extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishotihadus%2Fgoogle_cloud_logging_extension/lists"}