//if (Logger.LOG_WARN != level && LogChannel.LOG_ERROR != level)
// return;
if (record == null) return;
if (this.loggingSet == null) return;
Level level = record.getLevel();
String source = record.getSourceClassName()+"."+record.getSourceMethodName();
String str = record.getMessage();
String found = (Level.WARNING.equals(level)) ? "logging/warning/" : "logging/severe/";
String foundEvent = found + "*"; // "logging/warning/*"
if (!this.loggingSet.contains(foundEvent))
return;
// How to extract the Logger name like "core"?
try {
if (source == null) source = "";
String description = (str == null) ? "" : str;
String summary =
"[" + new java.sql.Timestamp(record.getMillis()).toString()
+ " " + level.toString()
+ " " + Thread.currentThread().getName()
+ " " + source + "]";
String eventType = foundEvent;