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

feat(logs): Expose logs level to the user #6

Merged
merged 6 commits into from
Jul 22, 2022
Merged

feat(logs): Expose logs level to the user #6

merged 6 commits into from
Jul 22, 2022

Conversation

barreiroleo
Copy link
Owner

No description provided.

Fymyte and others added 6 commits July 20, 2022 21:31
TODO: Implement asserts with plenary testing framework
Restructured the way that logs operate.
The `init(level)` function no longer receives a `level`. Instead, the setup
reads the settings from package.load. This allows to have the same behavior for
all the modules that require to use logs.

The `plenary` dependency is handled by a pcall statement. If the user hasn't
installed `plenary`, be notified and use the built-in logs. This also applies to
the logging level "none".
Intermediate commit, the next one contain the neccesary fixes.

Allow debug configuration in setup
@barreiroleo barreiroleo merged commit adb095d into master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants