slog function

dynamic slog(
  1. String text
)

Implementation

slog(String text) {
  if (kDebugMode && _logEnabled) {
    print('[${DateTime.now()}]: $text');
  }
}