All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.libtorrent4j.alerts.LogAlert Maven / Gradle / Ivy

The newest version!
package org.libtorrent4j.alerts;

import org.libtorrent4j.swig.log_alert;

/**
 * This alert is posted by some session wide event. Its main purpose is
 * trouble shooting and debugging. It's not enabled by the default alert
 * mask and is enabled by the ``alert::session_log_notification`` bit.
 *
 * @author gubatron
 * @author aldenml
 */
public final class LogAlert extends AbstractAlert {

    LogAlert(log_alert alert) {
        super(alert);
    }

    /**
     * Returns the log message.
     *
     * @return the message
     */
    public String logMessage() {
        return alert.log_message();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy