Open EhsanSl opened 3 months ago
[x] allow configuration of log level with CLI options, e.g npx spin-m4 build-image --log-cli-level
[x] replace console.log with pino info or debug logs
[x] timestamp logs
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
Completed Tasks:
[x] allow configuration of log level with CLI options, e.g npx spin-m4 build-image --log-cli-level
[x] replace console.log with pino info or debug logs
[x] 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