From bfff1d9d93dccb9f0080b84d3933d47f2a6a1f6c Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 9 Feb 2008 20:15:09 +0000 Subject: Implement LogManager::CloseLogs() to give logstreams a chance to clean up on rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/logger.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/logger.h') diff --git a/include/logger.h b/include/logger.h index d22b4203b..70407422f 100644 --- a/include/logger.h +++ b/include/logger.h @@ -41,6 +41,7 @@ class CoreExport LogManager : public classbase ServerInstance = Instance; } + void CloseLogs(); bool AddLogType(const std::string &type, LogStream *l); bool DelLogType(const std::string &type, LogStream *l); void Log(const std::string &type, int loglevel, const std::string &msg); -- cgit v1.2.3