init static method

dynamic init({
  1. int maxFileSizeMb = 2,
})

Set up Flutter Logger maxFileSizeMb asgas

Implementation

static init({
  /// Maximum size (in MB) of logs file / when exceeded file will be cleaned up until the file is half of the set size
  /// Default value is 2MB. If file exceeds 2MB older logs will be deleted until the file is ~ 1MB
  int maxFileSizeMb = 2,
}) {
  _maxFileSizeMb = maxFileSizeMb;
}