Logger.shutdown

A general discussion forum.
asiflse2
Posts: 7
Joined: 10 Aug 2011, 19:17

Logger.shutdown

Postby asiflse2 » 16 Aug 2011, 12:17

Hi,
My understanding is that calling shutdown() member function of logger also shuts down the associated channel, am I correct? Or, do I have to close the channel separately?

Best regards, Asif

guenter
Posts: 1194
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Logger.shutdown

Postby guenter » 18 Aug 2011, 10:26

Logger::shutdown() does not automatically close associated channels. You'll need to do this yourself, although it's not strictly necessary as channels close implicitely in their destructor.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest

cron