On Fri, 2005-08-05 at 13:44 +0200, Ceki Gülcü wrote: <snip>
> The first method, namely getName(), sounds most legitimate. If the > developer retrieves loggers by name, it is only natural for those > loggers to have a name. The only exception is the NOPLogger > singleton. If SLF4J is bound to the NOP implementation, the logger > factory will always hand the user the same NOPLogger instance, > regardless of the name of the logger requested by her. > > Thus, it seems quite reasonable to add the getName() method, with the > caveat that the name you get may be different than the name you asked > for. :-) +1 would null be a legitimate return value? - robert _______________________________________________ dev mailing list [email protected] http://slf4j.org/mailman/listinfo/dev
