// --------------------------------------------------------------------------
public static void log(Class oCls, String sCategory, AtrilEvent.Level eLevel, String sDetails) throws AuthenticationException, SecuritySystemException,PersistenceManagerException {
AtrilSession oSes = getAdminSession("log");
oSes.getEventLogger().registerEvent(new AtrilEvent.Builder(oCls.getName(), sCategory, eLevel).setDetails(sDetails).build());
oSes.commit();
oSes.disconnect();
oSes.close();
}
// --------------------------------------------------------------------------