You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ilya Kozyrev (Jira)" <ji...@apache.org> on 2021/10/11 20:45:00 UTC

[jira] [Updated] (BEAM-13032) [Playground] Log service

     [ https://issues.apache.org/jira/browse/BEAM-13032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Kozyrev updated BEAM-13032:
--------------------------------
    Status: Open  (was: Triage Needed)

> [Playground] Log service
> ------------------------
>
>                 Key: BEAM-13032
>                 URL: https://issues.apache.org/jira/browse/BEAM-13032
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-playground
>            Reporter: Ilya Kozyrev
>            Priority: P3
>
> As a *maintainer*,
> I want a package for effective and structured logging, which I can use in any go code in Beam playground. 
>  I prefer to use Cloud Logging's similar log structure, and I would like to have a standard interface for logging with main Info, Warn, Error, etc., methods.
> *Acceptance criteria*
>  # Logging structure implemented with standard functions including formatting option 
>  ## {{logger.Info("some string")}}
>  ## {{logger.Infof("some string %s", "substring")}}
>  #  The logging structure uses [Cloud logging|https://pkg.go.dev/google.golang.org/cloud/logging] to create [Entry|https://pkg.go.dev/google.golang.org/cloud/logging#Entry]. For this purpose
>  # Logging writes in stdout and stderr using Go native
>  ## log.{{log.Print(logging.Entry{})}}
>  # Logging structure implemented JSON marshal to convert Entry into JSON
>  # All log occurrences are replaced with a new logging structure



--
This message was sent by Atlassian Jira
(v8.3.4#803005)