diff options
author | Jose <jose@zeroc.com> | 2014-05-02 19:56:38 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-05-02 19:56:38 +0200 |
commit | 1161c5817059464ab511632c0ce5d14593ced1a3 (patch) | |
tree | 51bbcdf2a4ea43c430312157350bb4271bc3f40d /cpp/src/Ice/LoggerI.h | |
parent | Update .gitignore files (diff) | |
download | ice-1161c5817059464ab511632c0ce5d14593ced1a3.tar.bz2 ice-1161c5817059464ab511632c0ce5d14593ced1a3.tar.xz ice-1161c5817059464ab511632c0ce5d14593ced1a3.zip |
ICE-4851 - Use wstrings for input and output data that contain non-ASCII characters?
Diffstat (limited to 'cpp/src/Ice/LoggerI.h')
-rw-r--r-- | cpp/src/Ice/LoggerI.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/Ice/LoggerI.h b/cpp/src/Ice/LoggerI.h index ab05bc887a1..36b451b1b21 100644 --- a/cpp/src/Ice/LoggerI.h +++ b/cpp/src/Ice/LoggerI.h @@ -12,6 +12,7 @@ #include <Ice/Logger.h> #include <IceUtil/FileUtil.h> +#include <IceUtil/StringConverter.h> namespace Ice { @@ -20,7 +21,8 @@ class LoggerI : public Logger { public: - LoggerI(const std::string&, const std::string&); + LoggerI(const std::string&, const std::string&, bool convert = true, + const IceUtil::StringConverterPtr& converter = 0); ~LoggerI(); virtual void print(const std::string&); @@ -34,7 +36,10 @@ private: void write(const std::string&, bool); std::string _prefix; + const bool _convert; + const IceUtil::StringConverterPtr _converter; IceUtilInternal::ofstream _out; + std::string _file; }; |