trimCurrentLogFile

open fun trimCurrentLogFile(numBytes: Int): Boolean

Removes all but the most recent "numBytes" from the current log file

Return

true if the operation was successful, false if the operation could not be completed OR the logging directory is not set OR the current log file is not set.

Parameters

numBytes

the number of bytes (most recent) to leave in the current log file.