* Creates a new KieRuntimeLogger disposal.
* @param kieRuntimeLoggers the loggers
* @return the disposal
*/
public static KnowledgeDisposal newDisposal(final List<KieRuntimeLogger> kieRuntimeLoggers) {
return new KnowledgeDisposal() {
@Override
public void dispose() {
if (kieRuntimeLoggers != null) {
for (KieRuntimeLogger kieRuntimeLogger : kieRuntimeLoggers) {
try {