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 logger, console->logger migration #79

Closed
wants to merge 2 commits into from
Closed

add logger, console->logger migration #79

wants to merge 2 commits into from

Conversation

YashKumarVerma
Copy link
Contributor

@YashKumarVerma YashKumarVerma commented Mar 23, 2021

Description

  • adds Winston as a dependency for logger
  • adds transports to write logs to file
  • adds separate transports for errors and Infos
  • migrates existing codebase from console -> logger

Motivation and Context

How Has This Been Tested?

  • linting tests
  • existing tests do not fail.

Screenshots (if appropriate):

  • N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@YashKumarVerma YashKumarVerma changed the base branch from master to develop March 23, 2021 05:03
@YashKumarVerma YashKumarVerma changed the title fix(npm): change main entry to caracal.js add logger, console->logger migration Mar 23, 2021
@YashKumarVerma
Copy link
Contributor Author

Closing in support of further development.

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.

Integrate Logging Library
1 participant