summaryrefslogtreecommitdiff
path: root/include/logger.h
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 14:20:58 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 14:20:58 +0000
commitf63580a4eaa8d079200065dffa4d6a33b5577427 (patch)
treeec0d1a30442d29f5d9cc568817b0f7266bf4e514 /include/logger.h
parentb1312399e42cb4b34e86f6c7075abca64665cdd3 (diff)
Per-logstream loglevels.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8871 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/logger.h')
-rw-r--r--include/logger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/logger.h b/include/logger.h
index 492f6c20a..8f030b53b 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -18,8 +18,9 @@ class CoreExport LogStream : public classbase
{
protected:
InspIRCd *ServerInstance;
+ int loglvl;
public:
- LogStream(InspIRCd *Instance)
+ LogStream(InspIRCd *Instance, int loglevel) : loglvl(loglevel)
{
this->ServerInstance = Instance;
}