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

Implement proper logging in Rust crates #147

Open
2 tasks
achimcc opened this issue Dec 1, 2021 · 0 comments
Open
2 tasks

Implement proper logging in Rust crates #147

achimcc opened this issue Dec 1, 2021 · 0 comments
Labels
enhancement New feature or request priority-low Rust Issue requires Rust coding size-sm

Comments

@achimcc
Copy link
Contributor

achimcc commented Dec 1, 2021

Currently all lgging is doen by println!. We should switch to a proper logging solution:

  • replace all println! statements in all creats by log macros
  • use the env_logger crate to output the logs

Background read: https://medium.com/nerd-for-tech/logging-in-rust-e529c241f92e

@achimcc achimcc created this issue from a note in ink-playground (Planned) Dec 1, 2021
@achimcc achimcc added Rust Issue requires Rust coding size-sm enhancement New feature or request labels Dec 1, 2021
@achimcc achimcc added this to the ink! playground v1.0 release milestone Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request priority-low Rust Issue requires Rust coding size-sm
Projects
Development

No branches or pull requests

1 participant