I\'ve done a few research and I\'ve come up with the following logic in my code:
val command = "logcat -v time -r $FILE_SIZE -n $FILE_COUNT -f $l