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

Implement Pino for new Logging system #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EhsanSl
Copy link

@EhsanSl EhsanSl commented Aug 20, 2024

Completed Tasks:
  • allow configuration of log level with CLI options, e.g npx spin-m4 build-image --log-cli-level

  • replace console.log with pino info or debug logs

  • timestamp logs

example:

npx spin-m4 build-image --info
--path flag is required, path of the provable_game_logic folder.
Usage: npx spin build-image --path [path]
[2024-08-19 20:56:02.906 -0400] INFO: Running Spin version
[2024-08-19 20:56:02.907 -0400] INFO: Building project...
[2024-08-19 20:56:02.907 -0400] INFO: Args: ["build-image","--info"]
[2024-08-19 20:56:02.907 -0400] INFO: Optional Args: ["--info"]

closes #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

replace console.log with a logging framework for SDK
1 participant