Use log logging #13

Closed
opened 2022-10-30 05:41:12 +00:00 by mars · 1 comment
Owner

Inside of the canary, canary-sandbox, and magpie crates:

  • replace any and all println and eprintln calls with log logging functions
  • add additional logging functions for any appropriate debug data (this will be a good opportunity to learn how Canary's code flow works)
  • add the env_logger crate to the magpie crate for configurable logging to stdout
  • add egui_logger to canary-sandbox for a bottom panel with a log
Inside of the `canary`, `canary-sandbox`, and `magpie` crates: - replace any and all `println` and `eprintln` calls with `log` logging functions - add additional logging functions for any appropriate debug data (this will be a good opportunity to learn how Canary's code flow works) - add the `env_logger` crate to the `magpie` crate for configurable logging to stdout - add `egui_logger` to `canary-sandbox` for a bottom panel with a log
mars added the
feature
consistency
labels 2022-11-01 06:26:58 +00:00
Author
Owner

There is a proliferation of upwards Result propogation throughout the host-side codebase. While logging is being implemented, all functions that do not depend on their caller to specially handle errors should catch and log any possible errors themselves.

There is a proliferation of upwards `Result` propogation throughout the host-side codebase. While logging is being implemented, all functions that do not depend on their caller to specially handle errors should catch and log any possible errors themselves.
mars closed this issue 2022-12-06 23:38:59 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: canary/canary-rs#13
No description provided.