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