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

com.frostwire.jlibtorrent.alerts.LogAlert Maven / Gradle / Ivy

There is a newer version: 1.2.0.18
Show newest version
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