log<T> function
void
log<T>(
- T msg
Implementation
void log<T>(T msg) {
final String message = msg.toString();
if (isDebug) {
if (message.length < _limitLength) {
print(msg);
} else {
_segmentationLog(message);
}
}
}