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

Add Foal logger and request ID #1234

Merged
merged 37 commits into from
Oct 24, 2023
Merged

Add Foal logger and request ID #1234

merged 37 commits into from
Oct 24, 2023

Conversation

LoicPoullain
Copy link
Member

@LoicPoullain LoicPoullain commented Oct 18, 2023

Issue

Foal needs a proper way to perform logging. Currently, most of logging is done with a simple console.log.

Foal is missing a logger that:

  • has multiple levels of logging (debug, info, warn and error)
  • generates a timestamp
  • prints the logs using JSON (for log tooling), raw text or colored text (in development).

Solution and steps

WIP

Checklist

  • Add/update/check docs (code comments and docs/ folder).
  • Add/update/check tests.
  • Update/check the cli generators.

@LoicPoullain LoicPoullain changed the title Add Foal logger Add Foal logger and request ID Oct 21, 2023
@LoicPoullain LoicPoullain merged commit a5e36dd into v4-1-0 Oct 24, 2023
2 checks passed
@LoicPoullain LoicPoullain deleted the add-logger branch October 24, 2023 09:22
@LoicPoullain LoicPoullain mentioned this pull request Oct 24, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant