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

Addition of logging for debug purposes #15

Open
pauliyobo opened this issue Oct 19, 2019 · 2 comments
Open

Addition of logging for debug purposes #15

pauliyobo opened this issue Oct 19, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pauliyobo
Copy link
Collaborator

pauliyobo commented Oct 19, 2019

Hi there.
I believe that for debug purposes we should log the actions that are occurring in lucia to better debug if needed. For example
In issue #12 We were getting an error where the library could not be found when lucia was initializzing. However we did not know where was the library trying to load from to begin with. This enancement could possibly make our life easier.
I suggest that an optional argument is added to lucia.initialize()
so like:
lucia.initialize(debug=True)
If not true logging will not be performed.

@pauliyobo pauliyobo added the enhancement New feature or request label Oct 19, 2019
@JessicaTegner
Copy link
Collaborator

In addition, I suggest recasting some of the more common external module (ie bass, open al) exceptions to something more human readable, in addition to also throwing more exceptions in our internal code.

@stale stale bot added the stale label Nov 20, 2019
@stale stale bot closed this as completed Nov 27, 2019
@JessicaTegner JessicaTegner reopened this Apr 12, 2020
@stale stale bot removed the stale label Apr 12, 2020
@JessicaTegner JessicaTegner added this to the Lucia 2.0 milestone Apr 12, 2020
@stale stale bot added the stale label May 12, 2020
@stale stale bot closed this as completed May 19, 2020
@JessicaTegner JessicaTegner reopened this May 28, 2020
@stale stale bot removed the stale label May 28, 2020
@stale stale bot added the stale label Jun 27, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@luciasoftware luciasoftware deleted a comment from stale bot Jun 28, 2020
@JessicaTegner JessicaTegner self-assigned this Jun 28, 2020
@skluttrell
Copy link

I looked into adding debugging, and started doing just that, but when I was researching it I came to the conclusion that just adding a logger would do the trick. It seems like the more standard thing to do and all anyone has to do to take advantage of it is add a few lines of code to their project to direct the handlers. I did this on my own fork. It seems to provide plenty of flexibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants