log<T> static method
Implementation
static void log<T>(dynamic e, {String? subTitle}) {
String titleLog = T.runtimeType.toString();
if (subTitle != null) titleLog += '[$subTitle]';
LogController.setLog(log: e.toString(), titleLog: titleLog);
if (kDebugMode) {
print('$titleLog: $e');
}
}