logE function
Level: Error
Implementation
logE(msg, {String? tag}) {
if (JsLogger._logProxy != null) {
JsLogger._logProxy!(tag, msg);
} else if (JsLogger.isInited) {
JsLogger.logger?.severe(_makeMsg(msg, tag));
} else if (kDebugMode) {
print(_makeMsg(msg, tag));
}
}