APISonar


org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.Logger.log

> org > netbeans > modules > j2ee > deployment > devmodules > api > Deployment > Logger > log
org APIs netbeans APIs modules APIs j2ee APIs deployment APIs devmodules APIs api APIs Deployment APIs Logger APIs log APIs

Example 1
private Deployment.Logger logger;

    private void log(String msg) {
        // TODO this needs to be fixed on lifecycle level
        try {
            if (logger != null && msg != null) {
                LOGGER.log(Level.FINEST, msg);

                logger.log(msg);
            }
        } catch (ThreadDeath e) {
            LOGGER.log(Level.FINE, null, e);
        }
    }