use of alma.acs.logging.domainspecific.ArrayContextLogger in project ACS by ACS-Community.
the class AcsLoggerTest method testArrayContextLog.
public void testArrayContextLog() {
ArrayContextLogger arrayLogger = new ArrayContextLogger(acsLogger);
arrayLogger.log(Level.WARNING, "Log with audience and array", OPERATOR.value, "Array01");
arrayLogger.log(Level.WARNING, "Log with array", "Array01");
arrayLogger.log(Level.WARNING, "Log exception with audience and array", new Exception("My dummy exception"), OPERATOR.value, "Array01");
arrayLogger.log(Level.WARNING, "Log exception with array", new Exception("My dummy exception"), "Array01");
}
Aggregations