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

Artur Khanin updated BEAM-13032:
--------------------------------
    Description: 
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 – instead of grpclog
 ## 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
 # Log Entries captured with Cloud Logging when Playground runs in AppEngine. 

  was:
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 – instead of `grpclog`
 ## 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
 # Log Entries captured with Cloud Logging when Playground runs in AppEngine. 


> [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 – instead of grpclog
>  ## 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
>  # Log Entries captured with Cloud Logging when Playground runs in AppEngine. 



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

Reply via email to