diff --git a/src/libs/actions/MemoryOnlyKeys/MemoryOnlyKeys.js b/src/libs/actions/MemoryOnlyKeys/MemoryOnlyKeys.js index 82ce478754fe..d46222189804 100644 --- a/src/libs/actions/MemoryOnlyKeys/MemoryOnlyKeys.js +++ b/src/libs/actions/MemoryOnlyKeys/MemoryOnlyKeys.js @@ -1,16 +1,17 @@ import Onyx from 'react-native-onyx'; import ONYXKEYS from '../../../ONYXKEYS'; +import Log from '../../Log'; const memoryOnlyKeys = [ONYXKEYS.COLLECTION.REPORT, ONYXKEYS.COLLECTION.POLICY, ONYXKEYS.PERSONAL_DETAILS_LIST]; const enable = () => { - console.debug('[MemoryOnlyKeys] enabled'); + Log.info('[MemoryOnlyKeys] enabled'); Onyx.set(ONYXKEYS.IS_USING_MEMORY_ONLY_KEYS, true); Onyx.setMemoryOnlyKeys(memoryOnlyKeys); }; const disable = () => { - console.debug('[MemoryOnlyKeys] disabled'); + Log.info('[MemoryOnlyKeys] disabled'); Onyx.set(ONYXKEYS.IS_USING_MEMORY_ONLY_KEYS, false); Onyx.setMemoryOnlyKeys([]); };