diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-12-04 11:10:09 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-12-04 11:10:09 -0330 |
commit | 009d41ef816a6c26b0436c2f45f9fffff5f21cda (patch) | |
tree | 3b098a1e77fc46164a6d9695cfe55a46698e70a0 /cpp/src/Ice/SysLoggerI.h | |
parent | Fixed usage of icestormmigrate and upgradeicegrid.py (bug 3942) (diff) | |
download | ice-009d41ef816a6c26b0436c2f45f9fffff5f21cda.tar.bz2 ice-009d41ef816a6c26b0436c2f45f9fffff5f21cda.tar.xz ice-009d41ef816a6c26b0436c2f45f9fffff5f21cda.zip |
Bug 4336 - Add ability to set facility for syslog
Diffstat (limited to 'cpp/src/Ice/SysLoggerI.h')
-rw-r--r-- | cpp/src/Ice/SysLoggerI.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/Ice/SysLoggerI.h b/cpp/src/Ice/SysLoggerI.h index e6d7bc36e93..1e24be68587 100644 --- a/cpp/src/Ice/SysLoggerI.h +++ b/cpp/src/Ice/SysLoggerI.h @@ -20,7 +20,7 @@ class SysLoggerI : public Logger, public ::IceUtil::Mutex { public: - SysLoggerI(const std::string&); + SysLoggerI(const std::string&, const std::string&); ~SysLoggerI(); virtual void print(const std::string&); @@ -28,6 +28,12 @@ public: virtual void warning(const std::string&); virtual void error(const std::string&); virtual LoggerPtr cloneWithPrefix(const std::string&); + +private: + + SysLoggerI(const std::string&, int); + + int _facility; }; } |