存储日志
Future<void> store(LogEntry entry) async { // 内存存储 if (config.enableMemoryStorage) { _storeInMemory(entry); } // 文件存储 if (config.enableFileStorage) { await _storeInFile(entry); } }