|
a/libupnpp/upnpplib.hxx |
|
b/libupnpp/upnpplib.hxx |
|
... |
|
... |
40 |
* initialized.
|
40 |
* initialized.
|
41 |
* @return 0 for failure.
|
41 |
* @return 0 for failure.
|
42 |
*/
|
42 |
*/
|
43 |
static LibUPnP* getLibUPnP(bool server = false);
|
43 |
static LibUPnP* getLibUPnP(bool server = false);
|
44 |
|
44 |
|
45 |
/** Set log file name and activate logging.
|
45 |
/** Set libupnp log file name and activate logging.
|
46 |
*
|
46 |
*
|
47 |
* @param fn file name to use. Use empty string to turn logging off
|
47 |
* @param fn file name to use. Use empty string to turn logging off
|
48 |
*/
|
48 |
*/
|
49 |
enum LogLevel {LogLevelNone, LogLevelError, LogLevelDebug};
|
49 |
enum LogLevel {LogLevelNone, LogLevelError, LogLevelDebug};
|
50 |
bool setLogFileName(const std::string& fn, LogLevel level = LogLevelError);
|
50 |
bool setLogFileName(const std::string& fn, LogLevel level = LogLevelError);
|