Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Add interface for log messages #127

Closed
jwulf opened this issue Feb 20, 2020 · 1 comment · Fixed by #130
Closed

Add interface for log messages #127

jwulf opened this issue Feb 20, 2020 · 1 comment · Fixed by #130
Assignees
Labels
docs Update to documentation enhancement New feature or request
Projects

Comments

@jwulf
Copy link
Member

jwulf commented Feb 20, 2020

To enable intellisense on custom loggers, add an interface definition for the log messages they will receive.

It looks like:

{
  timestamp: new Date(),
  context: `${frame.getFileName()}:${frame.getLineNumber()}`,
  id: this.id,
  level,
  message,
  time: dayjs().format('YYYY MMM-DD HH:mm:ssA'),
}
@jwulf jwulf self-assigned this Feb 23, 2020
@jwulf
Copy link
Member Author

jwulf commented Feb 23, 2020

Also, add a link to the totally sweet custom logging implementation in the Zeebe GitHub Action.

@jwulf jwulf added docs Update to documentation enhancement New feature or request labels Feb 23, 2020
@jwulf jwulf added this to To Do in Zeebe 23 via automation Feb 25, 2020
@jwulf jwulf moved this from To Do to In Progress in Zeebe 23 Feb 25, 2020
Zeebe 23 automation moved this from In Progress to Done Feb 25, 2020
@jwulf jwulf mentioned this issue May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Update to documentation enhancement New feature or request
Projects
No open projects
Zeebe 23
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant