Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Implement Proper Logging System #21

Open
randomPoison opened this issue Aug 25, 2015 · 1 comment
Open

Implement Proper Logging System #21

randomPoison opened this issue Aug 25, 2015 · 1 comment

Comments

@randomPoison
Copy link
Owner

The important features are;

  • Tagging/some kind of categorization for logging output. The idea being that if we can selectively enable and disable logging without having to constantly add and remove logging code.
  • Log to std out, std err, and files.
  • Globally accessible (like println!(), don't need to pass objects around to do the logging). This makes the code a bit unsafe but it's worthwhile to make it more ergonomic.

Other desirable features:

  • Allow for custom logging handlers so that it's easy to add game-specific behavior (showing dialogs and such) without having to write a wrapper around all logging code.
@randomPoison
Copy link
Owner Author

Note: This will probably become a milestone as it's large enough to warrant being split up over multiple issues.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant