org.libtorrent4j.alerts.LogAlert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libtorrent4j Show documentation
Show all versions of libtorrent4j Show documentation
A swig Java interface for libtorrent
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();
}
}