/** * Creates and returns a new <tt>Logger</tt> bound to the given * <tt>binding</tt> type using * * @param binding the <tt>java.lang.Class</tt> to bind to * @return the <b>new</b> <tt>Logger</tt> instance */ static Logger getLogger(Class<?> binding) { return Holder.INST.defaultFactory.create(binding); }
/** * Creates and returns a new <tt>Logger</tt> bound to the given * <tt>binding</tt> string using Platform's LoggerFactoryComponent. * * @param binding the <tt>java.lang.String</tt> to bind to * @return the <b>new</b> <tt>Logger</tt> instance */ static Logger getLogger(String binding) { return Holder.INST.defaultFactory.create(binding); }
/** * Creates and returns a new <tt>Logger</tt> bound to the given * <tt>binding</tt> string using Platform's LoggerFactoryComponent. * * @param binding the <tt>java.lang.String</tt> to bind to * @return the <b>new</b> <tt>Logger</tt> instance */ static Logger getLogger(String binding) { return Holder.INST.defaultFactory.create(binding); }
/** * Creates and returns a new <tt>Logger</tt> bound to the given * <tt>binding</tt> type using * * @param binding the <tt>java.lang.Class</tt> to bind to * @return the <b>new</b> <tt>Logger</tt> instance */ static Logger getLogger(Class<?> binding) { return Holder.INST.defaultFactory.create(binding); }