log static method
Implementation
static void log(LogLevel level, String tag, Object msg) {
if (enable == false) {
return;
}
if (tag.isEmpty) {
tag = "VE_VOD";
}
String logLevelStr = level.name;
StringBuffer logStrBuffer = StringBuffer();
logStrBuffer.write('[TTF]');
logStrBuffer.write('[$logLevelStr]');
logStrBuffer.write('[$tag]');
logStrBuffer.write(msg);
onLog?.call(level, logStrBuffer.toString());
}