public static final void logMessage(Level level, String key, Object... args) {
        if (WsLevel.AUDIT.equals(level))
            Tr.audit(tc, key, args);
        else if (WsLevel.ERROR.equals(level))
            Tr.error(tc, key, args);
        else if (Level.INFO.equals(level))
            Tr.info(tc, key, args);
        else if (Level.WARNING.equals(level))
            Tr.warning(tc, key, args);
        else
            throw new UnsupportedOperationException(level.toString());
    }
public static final void logMessage ( Level level , String key , Object ... args ) { if ( WsLevel . AUDIT . equals ( level ) ) Tr . audit ( tc , key , args ) ; else if ( WsLevel . ERROR . equals ( level ) ) Tr . error ( tc , key , args ) ; else if ( Level . INFO . equals ( level ) ) Tr . info ( tc , key , args ) ; else if ( Level . WARNING . equals ( level ) ) Tr . warning ( tc , key , args ) ; else throw new UnsupportedOperationException ( level . toString ( ) ) ; }
Logs a message from the J2CAMessages file.

@param key message key.
@param args message parameters