addLogs method
Aggregates and adds multiple InfospectLog entries to the logger of the Infospect instance.
logs: The list of log entries to be added.
Implementation
void addLogs(List<InfospectLog> logs) {
// Appends the list of logs to the logger.
_infospect.infospectLogger.logs.addAll(logs);
// Sends the logs to any potential subscribers or handlers.
_infospect.sendLogs(logs);
}