Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a debug mode option #23

Open
amoeba opened this issue Jun 17, 2019 · 1 comment
Open

Add a debug mode option #23

amoeba opened this issue Jun 17, 2019 · 1 comment
Assignees

Comments

@amoeba
Copy link
Owner

amoeba commented Jun 17, 2019

Add it in the UI and add logging statements in reasonable places.

@amoeba amoeba self-assigned this Jun 17, 2019
@amoeba
Copy link
Owner Author

amoeba commented Jun 17, 2019

After messing around with this, I think it'd be better to have a two-level logging mechanism in place:

  • Default: Informational logging: Prints basic stuff to chat, puts useful logging stuff in messages.txt. Accessed via Logging.Info.
  • Debug: Informational + Debug logging: Default stuff + lots of minor function calls in chat and messages.txt. Accessed via Logging.Debug.

I don't really think I need more levels than two at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant