logFn function

void logFn(
  1. Context context,
  2. int align,
  3. Object logObject
)

Logger function

Implementation

void logFn(Context context, int align, Object logObject) {
  if (!context.log) return;
  log.fine('${List.filled(align, '|   ').join()}${logObject.toString()}');
}