Assistant: 
User: 
    Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions.
    Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. 
    If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.

    Modules : {
        "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions."
"Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java."
"Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs."
"Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component."
"Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data."
"E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests."
"Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes."
    }

    Code: package teammates.logic.external; /** * Holds functions for operations related to logs reading/writing in local dev environment. * * <p>The current implementation uses an in-memory storage of logs to simulate the logs * retention locally for feedback session logs only. It is not meant as a replacement but * merely for testing purposes. */ public class LocalLoggingService implements LogService { private static final Map<String, List<FeedbackSessionLogEntry>> FEEDBACK_SESSION_LOG_ENTRIES = new ConcurrentHashMap<>(); private static final List<GeneralLogEntry> LOCAL_LOG_ENTRIES = loadLocalLogEntries(); private static final String ASCENDING_ORDER = "asc"; private static List<GeneralLogEntry> loadLocalLogEntries() { // Timestamp of logs are randomly created to be within the last one hour long currentTimestamp = Instant.now().toEpochMilli(); long earliestTimestamp = currentTimestamp - 60 * 60 * 1000; try { String jsonString = FileHelper.readResourceFile("logsForLocalDev.json"); Type type = new TypeToken<Collection<GeneralLogEntry>>(){}.getType(); Collection<GeneralLogEntry> logEntriesCollection = JsonUtils.fromJson(jsonString, type); return logEntriesCollection.stream() .map(log -> { long timestamp = new RandomDataGenerator().nextLong(earliestTimestamp, currentTimestamp); GeneralLogEntry logEntryWithUpdatedTimestamp = new GeneralLogEntry( log.getSeverity(), log.getTrace(), log.getInsertId(), log.getResourceIdentifier(), log.getSourceLocation(), timestamp); logEntryWithUpdatedTimestamp.setDetails(log.getDetails()); logEntryWithUpdatedTimestamp.setMessage(log.getMessage()); return logEntryWithUpdatedTimestamp; }) .collect(Collectors.toList()); } catch (JsonParseException e) { return new ArrayList<>(); } } @Override public QueryLogsResults queryLogs(QueryLogsParams queryLogsParams) { // Page size is set as a small value to test loading of more logs int pageSize = 10; List<GeneralLogEntry> result = LOCAL_LOG_ENTRIES.stream() .sorted((x, y) -> { String order = queryLogsParams.getOrder(); if (ASCENDING_ORDER.equals(order)) { return Long.compare(x.getTimestamp(), y.getTimestamp()); } else { return Long.compare(y.getTimestamp(), x.getTimestamp()); } }) .filter(log -> queryLogsParams.getSeverity() == null || log.getSeverity().equals(queryLogsParams.getSeverity())) .filter(log -> queryLogsParams.getMinSeverity() == null || log.getSeverity().getSeverityLevel() >= queryLogsParams.getMinSeverity().getSeverityLevel()) .filter(log -> log.getTimestamp() > queryLogsParams.getStartTime()) .filter(log -> log.getTimestamp() <= queryLogsParams.getEndTime()) .filter(log -> queryLogsParams.getTraceId() == null || queryLogsParams.getTraceId().equals(log.getTrace())) .filter(log -> queryLogsParams.getVersion() == null || queryLogsParams.getVersion().equals(log.getResourceIdentifier().get("version_id"))) .filter(log -> queryLogsParams.getSourceLocation().getFile() == null || log.getSourceLocat
Assistant: