-
Notifications
You must be signed in to change notification settings - Fork 50
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
Adds log4s logging to free and tagless #512
Conversation
Could you take a look at the documentation file @MaureenElsberry ? This is the document with my changes https://github.com/frees-io/freestyle/pull/512/files#diff-081d1cdca5458a4fb00271d9fc16c23f Thanks |
* limitations under the License. | ||
*/ | ||
|
||
package freestyle.free |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not much in favor of having multiple package
declarations. IMHO, an import
should be as explicit and restricted as reasonably possible. In this case, it is not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Changed.
* limitations under the License. | ||
*/ | ||
|
||
package freestyle.tagless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Changed.
You could use either both, depending on your requirements, and the usage would be quite similar. You could use either, or both, depending on your requirements, and the usage would be quite similar. If that is not accurate, just take out the or both and change to: You could use either, depending on your requirements, and the usage would be quite similar.
This PR adds a new way to log the messages through
log4s
.I added this logger to
free
andtagless
.This change doesn't have a breaking change because the default implicit
freestyle.free.loggingJVM.implicits
point tojournal
directly.This PR is in WIP because I want a first code review and if it adapts to your thoughts, I will update the documentation with these changes.