enableFileOutput method

LogError enableFileOutput({
  1. String logger = 'Main',
  2. bool exclusive = false,
  3. String? logFileName,
  4. bool append = false,
  5. bool flush = true,
  6. SaveFormat format = SaveFormat.text,
})

Implementation

LogError enableFileOutput(
    {String logger = 'Main',
    bool exclusive = false,
    String? logFileName,
    bool append = false,
    bool flush = true,
    SaveFormat format = SaveFormat.text}) {
  return loggerMap[logger]?.enableFileOutput(exclusive,
          logFileName: logFileName,
          append: append,
          flush: flush,
          format: format) ??
      LogError(-1, message: 'Logger not found [$logger]');
}