generateTextMessage method
Internal method that generates a complete message about the event
See examples:
TalkerLog
-> TalkerLog.generateTextMessage
TalkerException
-> TalkerException.generateTextMessage
TalkerError
-> TalkerError.generateTextMessage
Implementation
@override
String generateTextMessage({
TimeFormat timeFormat = TimeFormat.timeAndSeconds,
}) {
final sb = StringBuffer();
sb.write(displayTitleWithTime(timeFormat: timeFormat));
sb.write('\n$message');
sb.write('\n${'ERROR: \n$providerError'}');
sb.write('\n${'STACK TRACE: \n$providerStackTrace'}');
return sb.toString();
}