Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received events should be logged in human-readable form #15

Closed
cardil opened this issue Apr 13, 2023 · 0 comments · Fixed by #25
Closed

Received events should be logged in human-readable form #15

cardil opened this issue Apr 13, 2023 · 0 comments · Fixed by #25
Labels
kind/enhancement New feature or request

Comments

@cardil
Copy link
Member

cardil commented Apr 13, 2023

After the event is received by the showcase app, the event should be logged to the console in human-readable form. Best would be to log the event in the same way the Knative's event-display image does it:

☁️  cloudevents.Event
Validation: valid
Context Attributes,
  specversion: 1.0
  type: samples.http.mode3
  source: /apis/v1/namespaces/default/pingsources/ping-source
  id: e8fa7906-ab62-4e61-9c13-a9406e2130a9
  time: 2020-03-02T20:52:00.0004957Z
  datacontenttype: application/json
Data,
  {
    "id": 0,
    "message": "Hello world"
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
1 participant