summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-04-07 19:07:10 +0200
committerJose <jose@zeroc.com>2016-04-07 19:07:10 +0200
commit538771b59abc2dedbf163abdc4df282224ae4d18 (patch)
tree51350d8db53fccfae5c3c9f5d6ff5ffe3b0d99ba /cpp/include
parentICE-7035 - Add option to roll log files (diff)
downloadice-538771b59abc2dedbf163abdc4df282224ae4d18.tar.bz2
ice-538771b59abc2dedbf163abdc4df282224ae4d18.tar.xz
ice-538771b59abc2dedbf163abdc4df282224ae4d18.zip
Do not throw if log rotation fails.
If log rotate fails because the file cannot be renamed we will keep using the same log file or in case that it cannot be reopen we will log to stderr.
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/IceUtil/Time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Time.h b/cpp/include/IceUtil/Time.h
index 9b29a862391..002760330b2 100644
--- a/cpp/include/IceUtil/Time.h
+++ b/cpp/include/IceUtil/Time.h
@@ -54,7 +54,7 @@ public:
std::string toDateTime() const;
std::string toDuration() const;
- std::string toFormatString(const std::string&) const;
+ std::string toString(const std::string&) const;
Time operator-() const
{