log method
Implementation
dynamic log({String key: '', String logStr: '', int limit: 200}) {
key = key.isEmpty ? this.errorLogKey : key;
if (logStr.isEmpty) {
return this.di.make('log').get(key);
} else {
return this.di.make('log').set(logStr, key, limit: limit);
}
}