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

Added option to pass logger #153

Merged
1 commit merged into from Mar 29, 2019
Merged

Added option to pass logger #153

1 commit merged into from Mar 29, 2019

Conversation

ghost
Copy link

@ghost ghost commented Mar 29, 2019

The logger of this node module is only logging the error using console.log. This pr adds the option to pass logger. This is needed in case json log is needed (for ex. when the main app logging to logstash)

index.js Show resolved Hide resolved
lib/translator/index.js Outdated Show resolved Hide resolved
lib/translator/index.js Outdated Show resolved Hide resolved
lib/translator/locale-parser.js Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
lib/translator/index.js Show resolved Hide resolved
index.js Show resolved Hide resolved
lib/translator/index.js Show resolved Hide resolved
lib/translator/transformer.js Outdated Show resolved Hide resolved
lib/translator/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@mattolson mattolson left a comment

Choose a reason for hiding this comment

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

👏

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant