In an application I want to include OpenLog but I have some questions regarding the implementation.
if (db.isOpen()){
//perform action
}else{
OpenLogUtil.logError(session, null, Utils.getSession().getEffectiveUserName() + " has unsufficient access for database: " + sourceDB.getFileName(), ?? , null);
}
I am not sure how I should provide the severity level.
Can someone explain this to me with a code example?
If you import java.util.logging.Level you can then use Level.INFO, Level.WARNING, etc. as the severity levels.