separator static method

void separator({
  1. String char = '-',
  2. int length = 80,
})

打印分隔线

Implementation

static void separator({String char = '-', int length = 80}) {
  if (!_enabled) return;
  final line = char * length;
  debugPrint(line);

  // 写入日志文件
  if (_writeToFile) {
    _writeToLogFile(line);
  }
}