inline const char* RocksLogShorterFileName(const char* file)
{
- // 15 is the length of "logging/logging.h".
+ // 18 is the length of "logging/logging.h".
// If the name of this file changed, please change this number, too.
- return file + (sizeof(__FILE__) > 15 ? sizeof(__FILE__) - 15 : 0);
+ return file + (sizeof(__FILE__) > 18 ? sizeof(__FILE__) - 18 : 0);
}
// Don't inclide file/line info in HEADER level