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: add types for ConsoleLogger #101

Merged
merged 2 commits into from
Aug 5, 2024
Merged

feat: add types for ConsoleLogger #101

merged 2 commits into from
Aug 5, 2024

Conversation

lpatiny
Copy link
Member

@lpatiny lpatiny commented Aug 5, 2024

@targos What do you think about this type ? I would like that some libraries like openchemlib-utils are able to send 'warn' but if a logger is not specified it simply uses console.warn.

Is this something acceptable to you ?

@lpatiny lpatiny requested a review from targos August 5, 2024 12:36
@targos
Copy link
Member

targos commented Aug 5, 2024

This doesn't seem correct. Please show an example of use in real code.

@lpatiny lpatiny merged commit fad1b27 into main Aug 5, 2024
7 checks passed
@lpatiny lpatiny deleted the consoleLogger branch August 5, 2024 14:31
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