class LogMessage extends GenericMailet {

    @Override
    public void init() {
        try {
            passThrough = getInitParameter("passThrough", true);
            headers = getInitParameter("headers", true);
            body = getInitParameter("body", true);
            bodyMax = (getInitParameter("maxBody") == null) ? 0 : Integer.parseInt(getInitParameter("maxBody"));
            comment = getInitParameter("comment");
        } catch (Exception e) {
            logger.error("Caught exception while initializing LogMessage", e);
        }
    }

    public  LogMessage(Logger logger);
    public  LogMessage();

}