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

Fix tests and reuse winston log message builder #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

chris-rock
Copy link

  • fix the vows tests with the current winston release
  • reuse message builder from winston/lib/winston/common
  • add config for travis ci
  • add example
  • add license

@chris-rock
Copy link
Author

Hey @AntonNguyen any news on this?

options = options || {};

this.json = options.json || false;
this.colorize = options.colorize || false;
Copy link
Owner

Choose a reason for hiding this comment

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

Since this is always false when logging, we don't need to set it at all.

@AntonNguyen
Copy link
Owner

@chris-rock Your stuff looks good. One issue I have is the inconsistent indentation style. Some places we have 2 spaces, others we have 4 spaces.

I was following this style guide, so it'd be great if you switched to 2 spaces. 😄

@chris-rock
Copy link
Author

Hey @AntonNguyen Just updated everything to 2-spaces and fixed the settings for json and colorize to false

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