Title: How to write v2.LogEntry Protobufs · Issue #1298 · googleapis/java-logging · GitHub
Open Graph Title: How to write v2.LogEntry Protobufs · Issue #1298 · googleapis/java-logging
X Title: How to write v2.LogEntry Protobufs · Issue #1298 · googleapis/java-logging
Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response. Is y...
Open Graph Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...
X Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...
Opengraph URL: https://github.com/googleapis/java-logging/issues/1298
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to write v2.LogEntry Protobufs","articleBody":"Thanks for stopping by to let us know something could be better!\r\n\r\n**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\nI'm trying to write logs in the shape of `com.google.logging.v2.LogEntry`. However, the `#write` expects `com.google.logging.LogEntry`.\r\n\r\n**Describe the solution you'd like**\r\nReasonable options might be:\r\n1. an easy way to convert `com.google.logging.v2.LogEntry` into `com.google.logging.LogEntry`. \r\n1. overloaded `#write` method that accepts `com.google.logging.v2.LogEntry`.\r\n\r\n**Describe alternatives you've considered**\r\nI'm writing my own converter 😭 \r\n\r\n**Additional context**\r\nSorry, if this method already exists, could you please point me to the docs?\r\n\r\n","author":{"url":"https://github.com/KaoruDev","@type":"Person","name":"KaoruDev"},"datePublished":"2023-03-10T14:50:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1298/java-logging/issues/1298"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7373d916-dd4c-2cc5-b24a-19ec9cb0217c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB8A:8377:11B3DEA:187251C:6A4CA5C6 |
| html-safe-nonce | 2c8aa8e8a447ac73348be99c7af8b5044a09ae309f9558b8bf5720f207fe999e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjhBOjgzNzc6MTFCM0RFQToxODcyNTFDOjZBNENBNUM2IiwidmlzaXRvcl9pZCI6IjI5ODU4NzQ4NTk1MzQwOTk5MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a51394a6c559c1069728bf73280cc98aaa314840eaac6572fdc83a6437bd926d |
| hovercard-subject-tag | issue:1619103275 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/java-logging/1298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a68ca953b99c502767377e847a706235a1a44ec5603025453402ec70617720d8/googleapis/java-logging/issues/1298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a68ca953b99c502767377e847a706235a1a44ec5603025453402ec70617720d8/googleapis/java-logging/issues/1298 |
| og:image:alt | Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KaoruDev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/java-logging git https://github.com/googleapis/java-logging.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 203461472 |
| octolytics-dimension-repository_nwo | googleapis/java-logging |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 203461472 |
| octolytics-dimension-repository_network_root_nwo | googleapis/java-logging |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width