[slf4j-dev] Common Logging API

Endre Stølsvik Endre at Stolsvik.com
Thu Aug 11 10:36:06 CEST 2005


On Wed, 10 Aug 2005, Ceki [iso-8859-1] Gülcü wrote:

| 
| 
| At 11:41 PM 8/8/2005, you wrote:
| 
| > would null be a legitimate return value?
| 
| Considering that null is not a valid input value to retrieve a logger,
| probably not.

And it would force coders to include a null check every place they ask for 
the name or else their code may unexpectedly blow up on them. I'd rather 
have some javadoc that stated "will never return null", just to ensure the 
users.

Endre.


More information about the slf4j-dev mailing list