
com.frostwire.jlibtorrent.alerts.LogAlert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlibtorrent Show documentation
Show all versions of jlibtorrent Show documentation
A swig Java interface for libtorrent by the makers of FrostWire.
package com.frostwire.jlibtorrent.alerts;
import com.frostwire.jlibtorrent.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.
*
* Furthermore, it's by default disabled as a build configuration. To
* enable, build libtorrent with logging support enabled (``logging=on``
* with bjam or define ``TORRENT_LOGGING``).
*
* @author gubatron
* @author aldenml
*/
public final class LogAlert extends AbstractAlert {
public LogAlert(log_alert alert) {
super(alert);
}
/**
* Returns the log message.
*
* @return
*/
public String msg() {
return alert.msg();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy