addLog method
Implementation
void addLog({
required BuildContext context,
required String previousCommand,
required String currentCommand,
required CatLoggingLevel description,
}) {
// print(previousCommand);
// print(currentCommand);
// print(description);
_logs[DateTime.now().toIso8601String()] = LoggerInfo(
previousCommand: previousCommand,
currentCommand: currentCommand,
description: description,
interface: context.read<TypeUpdateNotifier>().state,
visualFeedback: context.read<VisibilityNotifier>().visible,
schema: SchemasReader().currentIndex,
);
notifyListeners();
}