Documented that portmap_log_alert is only posted if port_mapping_log_notification is enabled.

This commit is contained in:
Alden Torres 2015-08-12 00:10:32 -04:00
parent 1805c96f44
commit 2457b16d09
1 changed files with 3 additions and 1 deletions

View File

@ -1390,7 +1390,9 @@ namespace libtorrent
// This alert is generated to log informational events related to either
// UPnP or NAT-PMP. They contain a log line and the type (0 = NAT-PMP
// and 1 = UPnP). Displaying these messages to an end user is only useful
// for debugging the UPnP or NAT-PMP implementation.
// for debugging the UPnP or NAT-PMP implementation. This alert is only
// posted if the alert::port_mapping_log_notification flag is enabled in
// the alert mask.
struct TORRENT_EXPORT portmap_log_alert: alert
{
// internal