summaryrefslogtreecommitdiffstats
path: root/src/libktorrent/util/log.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-10 20:36:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-21 19:05:50 +0900
commit73da215882d7f96b6010fa99361c7cc10ec18bfb (patch)
treecea1a5016a94a9dac26cab8227e2513224288be3 /src/libktorrent/util/log.h
parentbb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (diff)
downloadktorrent-73da2158.tar.gz
ktorrent-73da2158.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bf204e931c605c73d761ec84943bb0cc94d7e7e4)
Diffstat (limited to 'src/libktorrent/util/log.h')
-rw-r--r--src/libktorrent/util/log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libktorrent/util/log.h b/src/libktorrent/util/log.h
index 742b753..62260b7 100644
--- a/src/libktorrent/util/log.h
+++ b/src/libktorrent/util/log.h
@@ -23,6 +23,7 @@
#include "constants.h"
+#include <libktorrent_export.h>
#include <tqstring.h>
// LOG MESSAGES CONSTANTS
@@ -75,7 +76,7 @@ namespace bt
* There is also the possibility to monitor what is written to the log using
* the LogMonitorInterface class.
*/
- class Log
+ class LIBKTORRENT_EXPORT Log
{
class Private;
@@ -195,10 +196,10 @@ namespace bt
void logRotateDone();
};
- Log & endl(Log & lg);
+ LIBKTORRENT_EXPORT Log & endl(Log & lg);
- Log & Out(unsigned int arg = 0x00);
+ LIBKTORRENT_EXPORT Log & Out(unsigned int arg = 0x00);
inline Log & GenOut(unsigned int arg) {return Out(SYS_GEN|arg);}
inline Log & DHTOut(unsigned int arg) {return Out(SYS_DHT|arg);}
inline Log & ConOut(unsigned int arg) {return Out(SYS_CON|arg);}