Added a public method FileLogger::trimFileSize()