summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/LoggerI.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2003-03-06 20:14:35 +0000
committerBenoit Foucher <benoit@zeroc.com>2003-03-06 20:14:35 +0000
commit40a2e5677daadbf4fafd6111de6040163ee42869 (patch)
treeacef4a4aa9896b3f04186274c44e6d6c454fb8ea /cpp/src/Ice/LoggerI.h
parentFixed bug caused by a redundant check for encapsulation version that left (diff)
downloadice-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.h3
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