public void log(Level level, String aMessage, Object param1) {
if (context != null) {
Logger logger = context.getLogger();
if (logger != null && logger.isLoggable(level)) {
String result = MessageFormat.format(aMessage, new Object[] { param1 });
logger.log(getClass().getName(), level, result, null);
}
}
}
public void log(Level level, String aMessage, Object[] params) {