if (inst == null) inst = new LGLogger2Log4j(); return inst;
if (event.entryType == LogEvent.LT_ERROR) core.error(event.text); else if (event.entryType == LogEvent.LT_WARNING) core.log(SLevel.CORE_WARNING, event.text); else core.log(SLevel.CORE_INFO, event.text);
org.gudy.azureus2.core3.logging.Logger.addListener(getInstance());