Log constructor
Log({})
Implementation
Log({
this.className,
this.methodName,
this.text,
this.timestamp,
this.timeInMillis,
this.exception,
this.logLevel,
this.dataLogType,
this.stacktrace,
}) {
if (dataLogType != null) {
final dataLogType = MyLogger.config.dataLogTypeValues.first.runtimeType;
if (this.dataLogType.runtimeType != dataLogType) {
throw "DataLogType is not: $dataLogType";
}
}
}