Log interface?

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
mgillespie
Posts: 21
Joined: 2004-08-08 09:12

Log interface?

Post by mgillespie » 2004-08-13 13:49

Is there a preferred way to log warning messages in DC++

I want to log warnings, if the UPnP stuff I am working on has problems installing or removing the port mappings...

At the moment, I am using OutputDebugString(), but I wondered if there was something more suitable...

(PS. I am ammost done, having a couple of small problems to address with the port mappings removal, but it otherwise ready to go...)

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-08-13 15:17

Check out LogManager.cpp/h.
The world is coming to an end. Please log off.

DC++ Guide | Words

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-08-14 09:39

In particular, message() and the SYSTEM_LOG setting in settingsmanager.

I wanted it to be a generic logging facility.

Locked