java:genericloggerasbean
Implementing a logger as a bean in Spring
<!-- a generic logger --> <bean id="log" class="org.apache.commons.logging.impl.LogFactoryImpl" factory-method="getLog" scope="singleton"> <constructor-arg type="java.lang.String" value="Mercurio"/> </bean>
java/genericloggerasbean.txt · Last modified: 2022/12/02 21:02 by 127.0.0.1