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(types): adding logger type for logger plugin #1853

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

itomtom
Copy link
Contributor

@itomtom itomtom commented Oct 18, 2020

  • createLogger options takes in logger which by default is console but
    can be overridden with own logger.
  • Adding Ilogger for logger options params which expects log method to
    be implemented

Copy link
Member

@kiaking kiaking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for the PR! yeah we totally forgot about logger option hah...

I've made a comment. Could you have a look 🙏 ?

types/logger.d.ts Outdated Show resolved Hide resolved
@kiaking kiaking added the types Related to typings only label Oct 19, 2020
* createLogger options takes in logger which by default is console but
can be overridden with own logger.
* Adding Ilogger for logger options params which expects log method to
be implemented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types Related to typings only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants