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

make user's logger used everywhere #350

Merged
merged 3 commits into from
Jan 28, 2019

Conversation

alexeyeryshev
Copy link
Contributor

  • we had a global implicit logger that sometimes was used instead of
    user specified one, now it's deleted and user's logger persisted
    everywhere

  • simple implicit logger was moved to examples package

we had a global implicit logger that sometimes was used instead of
user specified one, now it's deleted and user logger persisted
everywhere

simple implicit logger was moved to examples package
Copy link
Contributor

@dufrannea dufrannea left a comment

Choose a reason for hiding this comment

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

One minor comment.

override def warning(message: => String): Unit = logMe(message, "WARNING")
override def error(message: => String): Unit = logMe(message, "ERROR")
}
implicit val JsonMeta: Meta[Json] = Meta[String].imap(x => parse(x).fold(e => throw e, identity _))(
Copy link
Contributor

Choose a reason for hiding this comment

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

either adapt name to something more self-explanatory, or add a simple comment above. (You can also do both :) )

@alexeyeryshev alexeyeryshev merged commit 583c9cf into criteo:master Jan 28, 2019
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