You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesakash-network#71
Replaced all `console.log` and `console.error` statements with pino logger statements.
* Imported pino and created a logger instance in `examples/create_deployment.ts`, `examples/details_of_single_provider.ts`, `examples/estimate_gas.ts`, `examples/get_deployments.ts`, `examples/get_lease_status.ts`, `examples/list_all_providers.ts`, `src/wallet/storage.ts`, `test.html`, and `tests/test_deployments.ts`.
* Replaced all `console.log` statements with `logger.info` in the above files.
* Replaced all `console.error` statements with `logger.error` in `examples/create_deployment.ts`.
Currently project utilises nodejs
console.log
for logging with doesn't provide a desired observability or debugging experience. Some of the issues:A good way to address this would be having a proper logger having common features. One of the good ones is pino.
The text was updated successfully, but these errors were encountered: