logTime function

dynamic logTime(
  1. String message, [
  2. String? tag
])

Implementation

logTime(String message, [String? tag]) {
  if (CubeSettings.instance.isDebugEnabled) {
    debugPrint(
        "${DateTime.now().toIso8601String()}: CB-SDK: ${!isEmpty(tag) ? tag : ""}: $message");
  }
}