-
Notifications
You must be signed in to change notification settings - Fork 752
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
Logging changes #39
Logging changes #39
Conversation
I don't intend to swap log4j for slf4j |
Why? |
Are you familiar with slf4j? |
I could decide to swap to slf4j if we used it as a wrapper for log4j but On Fri, Feb 28, 2014 at 9:50 PM, Antony Stubbs notifications@github.comwrote:
|
Podam is a library - it should not dictate what logging implementation is used in compile scope by it's client code. But of course you can use sld4j-log4j in test scope if you like.
|
Sorry but I can't make sense of what you're saying. Whether log4j or slf4j, On Sat, Mar 1, 2014 at 1:01 PM, Antony Stubbs notifications@github.comwrote:
|
slf4j isnt' a logging implementation, it's just that - a facade. Being a library - the point with slf4j is that you aren't' dictating what By directly including the log4j bridge, or using log4j directly, your On 1 March 2014 16:14, Marco Tedone notifications@github.com wrote:
|
Afaik slf4j has also got its own implementation. To use a backed logging On Saturday, March 1, 2014, Antony Stubbs notifications@github.com wrote:
|
slf4j has a couple, but none are used by default. I've adjusted the swap commit to include the slf4j-log4j12 bridge (which beings in log4j for the implementation). |
Protect debug statements from unnecessary string concatenation.
mtedone can you please comment on this? |
Using {} circumvents the issue with building the String before checking the debug level, so there's no performance impact- you don't need the isdebug guard. |
This cannot be merged any more and was addressed in other commits. |
No description provided.