diff options
author | Benoit Foucher <benoit@zeroc.com> | 2003-03-06 20:14:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2003-03-06 20:14:35 +0000 |
commit | 40a2e5677daadbf4fafd6111de6040163ee42869 (patch) | |
tree | acef4a4aa9896b3f04186274c44e6d6c454fb8ea /cpp/src/Ice/LoggerI.h | |
parent | Fixed bug caused by a redundant check for encapsulation version that left (diff) | |
download | ice-40a2e5677daadbf4fafd6111de6040163ee42869.tar.bz2 ice-40a2e5677daadbf4fafd6111de6040163ee42869.tar.xz ice-40a2e5677daadbf4fafd6111de6040163ee42869.zip |
Added IceUtil::Time::toString() and support for timestamps in the default
logger.
Diffstat (limited to 'cpp/src/Ice/LoggerI.h')
-rw-r--r-- | cpp/src/Ice/LoggerI.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/LoggerI.h b/cpp/src/Ice/LoggerI.h index 99dd4fd4109..3c13e73a58c 100644 --- a/cpp/src/Ice/LoggerI.h +++ b/cpp/src/Ice/LoggerI.h @@ -24,7 +24,7 @@ namespace Ice class LoggerI : public Logger { public: - LoggerI(const std::string&); + LoggerI(const std::string&, bool); virtual void trace(const std::string&, const std::string&); virtual void warning(const std::string&); @@ -34,6 +34,7 @@ private: std::string _prefix; std::string _emptyPrefix; + bool _timestamp; // // A global mutex is used to avoid garbled output with multiple |