log static method

bool log(
  1. LogColor? color,
  2. Object? message, {
  3. bool showPath = true,
  4. bool onlyDebug = true,
  5. int lines = 0,
  6. int position = 0,
  7. bool split = true,
  8. bool showTag = true,
  9. Zone? zone,
  10. LogBgColor? bgColor,
})

Implementation

static bool log(
  LogColor? color,
  Object? message, {
  bool showPath = true,
  bool onlyDebug = true,
  int lines = 0,
  int position = 0,
  bool split = true,
  bool showTag = true,
  Zone? zone,
  LogBgColor? bgColor,
}) {
  color ??= LogColor.info;
  return _log(
    color,
    message,
    showPath,
    onlyDebug,
    zone,
    lines: lines,
    position: ++position,
    split: split,
    showTag: showTag,
    bgColor: bgColor,
  );
}