setMaxLogs static method

void setMaxLogs(
  1. int max
)

Set maximum number of logs to keep

Implementation

static void setMaxLogs(int max) {
  _maxLogs = max;
  _trimLogs();
}