swebb2066 commented on code in PR #585:
URL: https://github.com/apache/logging-log4cxx/pull/585#discussion_r2744151749


##########
src/main/include/log4cxx/helpers/optionconverter.h:
##########
@@ -72,7 +72,16 @@ class LOG4CXX_EXPORT OptionConverter
                 converts the provided number respectively to kilobytes, 
megabytes
                 and gigabytes. For example, the value "10KB" will be 
interpreted as 10240.
                */
+               /**
+                * @deprecated Use toFileSize64 instead.
+                */
                static long toFileSize(const LogString& value, long 
defaultValue);
+
+               /**
+                * The numeric equivalent of \c value if it is not empty, 
otherwise \c defaultValue.
+                * Supports 64-bit values for file sizes > 2GB.
+                */
+               static long long toFileSize64(const LogString& value, long long 
defaultValue);

Review Comment:
   > any thoughts on long long vs. int64_t
   
   
   I prefer int64_t for its explicit size and the single word



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to