regenerate html
This commit is contained in:
parent
af0ce400d7
commit
9d09b11a6d
|
@ -276,10 +276,11 @@ libraries.</li>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><tt class="docutils literal">logging</tt></td>
|
<tr><td><tt class="docutils literal">logging</tt></td>
|
||||||
<td><ul class="first last simple">
|
<td><ul class="first last simple">
|
||||||
<li><tt class="docutils literal">none</tt> - no logging.</li>
|
<li><tt class="docutils literal">off</tt> - default. logging disabled.</li>
|
||||||
<li><tt class="docutils literal">default</tt> - basic session logging.</li>
|
<li><tt class="docutils literal">on</tt> - logging alerts available, still need to
|
||||||
<li><tt class="docutils literal">verbose</tt> - verbose peer wire logging.</li>
|
be enabled by the alert mask. The reason logging
|
||||||
<li><tt class="docutils literal">errors</tt> - like verbose, but limited to errors.</li>
|
is disabled by default is to keep the binary
|
||||||
|
size down.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -643,14 +644,10 @@ compilation units having different views of
|
||||||
structs and class layouts and sizes.</td>
|
structs and class layouts and sizes.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><tt class="docutils literal">TORRENT_LOGGING</tt></td>
|
<tr><td><tt class="docutils literal">TORRENT_LOGGING</tt></td>
|
||||||
<td>This macro will enable logging of the session
|
<td>This macro will enable support for logging
|
||||||
events, such as tracker announces and incoming
|
alerts, like log_alert, torrent_log_alert and
|
||||||
connections (as well as blocked connections).</td>
|
peer_log_alert. Without this build flag, you
|
||||||
</tr>
|
cannot enable those alerts.</td>
|
||||||
<tr><td><tt class="docutils literal">TORRENT_VERBOSE_LOGGING</tt></td>
|
|
||||||
<td>If you define this macro, every peer connection
|
|
||||||
will log its traffic to a log file as well as
|
|
||||||
the session log.</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td><tt class="docutils literal">TORRENT_STORAGE_DEBUG</tt></td>
|
<tr><td><tt class="docutils literal">TORRENT_STORAGE_DEBUG</tt></td>
|
||||||
<td>This will enable extra expensive invariant
|
<td>This will enable extra expensive invariant
|
||||||
|
|
|
@ -513,18 +513,16 @@ class session: public boost::noncopyable
|
||||||
<strong>session</strong> (fingerprint const& print = fingerprint("LT"
|
<strong>session</strong> (fingerprint const& print = fingerprint("LT"
|
||||||
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
||||||
, int flags = start_default_features | add_default_plugins
|
, int flags = start_default_features | add_default_plugins
|
||||||
, boost::uint32_t alert_mask = alert::error_notification
|
, boost::uint32_t alert_mask = alert::error_notification);
|
||||||
TORRENT_LOGPATH_ARG_DEFAULT);
|
|
||||||
<strong>session</strong> (settings_pack const& pack
|
|
||||||
, fingerprint const& print = fingerprint("LT"
|
|
||||||
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
|
||||||
, int flags = start_default_features | add_default_plugins);
|
|
||||||
<strong>session</strong> (fingerprint const& print
|
<strong>session</strong> (fingerprint const& print
|
||||||
, std::pair<int, int> listen_port_range
|
, std::pair<int, int> listen_port_range
|
||||||
, char const* listen_interface = "0.0.0.0"
|
, char const* listen_interface = "0.0.0.0"
|
||||||
, int flags = start_default_features | add_default_plugins
|
, int flags = start_default_features | add_default_plugins
|
||||||
, int alert_mask = alert::error_notification
|
, int alert_mask = alert::error_notification);
|
||||||
TORRENT_LOGPATH_ARG_DEFAULT);
|
<strong>session</strong> (settings_pack const& pack
|
||||||
|
, fingerprint const& print = fingerprint("LT"
|
||||||
|
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
||||||
|
, int flags = start_default_features | add_default_plugins);
|
||||||
<strong>~session</strong> ();
|
<strong>~session</strong> ();
|
||||||
void <strong>load_state</strong> (lazy_entry const& e);
|
void <strong>load_state</strong> (lazy_entry const& e);
|
||||||
void <strong>save_state</strong> (entry& e, boost::uint32_t flags = 0xffffffff) const;
|
void <strong>save_state</strong> (entry& e, boost::uint32_t flags = 0xffffffff) const;
|
||||||
|
@ -623,18 +621,16 @@ class session: public boost::noncopyable
|
||||||
<strong>session</strong> (fingerprint const& print = fingerprint("LT"
|
<strong>session</strong> (fingerprint const& print = fingerprint("LT"
|
||||||
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
||||||
, int flags = start_default_features | add_default_plugins
|
, int flags = start_default_features | add_default_plugins
|
||||||
, boost::uint32_t alert_mask = alert::error_notification
|
, boost::uint32_t alert_mask = alert::error_notification);
|
||||||
TORRENT_LOGPATH_ARG_DEFAULT);
|
|
||||||
<strong>session</strong> (settings_pack const& pack
|
|
||||||
, fingerprint const& print = fingerprint("LT"
|
|
||||||
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
|
||||||
, int flags = start_default_features | add_default_plugins);
|
|
||||||
<strong>session</strong> (fingerprint const& print
|
<strong>session</strong> (fingerprint const& print
|
||||||
, std::pair<int, int> listen_port_range
|
, std::pair<int, int> listen_port_range
|
||||||
, char const* listen_interface = "0.0.0.0"
|
, char const* listen_interface = "0.0.0.0"
|
||||||
, int flags = start_default_features | add_default_plugins
|
, int flags = start_default_features | add_default_plugins
|
||||||
, int alert_mask = alert::error_notification
|
, int alert_mask = alert::error_notification);
|
||||||
TORRENT_LOGPATH_ARG_DEFAULT);
|
<strong>session</strong> (settings_pack const& pack
|
||||||
|
, fingerprint const& print = fingerprint("LT"
|
||||||
|
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
|
||||||
|
, int flags = start_default_features | add_default_plugins);
|
||||||
</pre>
|
</pre>
|
||||||
<p>TODO: 3 could the fingerprint be a setting as well? And should the
|
<p>TODO: 3 could the fingerprint be a setting as well? And should the
|
||||||
<a class="reference external" href="reference-Settings.html#settings_pack">settings_pack</a> be optional?</p>
|
<a class="reference external" href="reference-Settings.html#settings_pack">settings_pack</a> be optional?</p>
|
||||||
|
|
Loading…
Reference in New Issue