Search in sources :

Example 6 with AcsLogRecord

use of alma.acs.logging.AcsLogRecord in project ACS by ACS-Community.

the class AntennaContextLogger method log.

/**
	 * @param level
	 * @param msg
	 * @param array
	 * @param antenna
	 */
public void log(Level level, String msg, String array, String antenna) {
    AcsLogRecord lr = delegateLogger.createAcsLogRecord(level, msg);
    lr.setArray(array);
    lr.setAntenna(antenna);
    delegateLogger.log(lr);
}
Also used : AcsLogRecord(alma.acs.logging.AcsLogRecord)

Aggregations

AcsLogRecord (alma.acs.logging.AcsLogRecord)6 AcsLogLevel (alma.acs.logging.AcsLogLevel)2 LogParameterUtil (alma.acs.logging.LogParameterUtil)2 AcsLogLevelDefinition (alma.acs.logging.level.AcsLogLevelDefinition)2 PrintWriter (java.io.PrintWriter)2 StringWriter (java.io.StringWriter)2 Date (java.util.Date)2 Map (java.util.Map)2 LogBinaryRecord (alma.ACSLoggingLog.LogBinaryRecord)1 NameValue (alma.ACSLoggingLog.NameValue)1