MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / clearLogs

Function clearLogs

app/middlewares/debuggerAPI.js:102–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102const clearLogs = () => {
103 if (process.env.NODE_ENV !== 'development') {
104 console.clear()
105 clearNetworkLogs(currentWindow)
106 }
107}
108
109const flushQueuedMessages = () => {
110 if (!worker) return

Callers 1

connectToDebuggerProxyFunction · 0.85

Calls 1

clearNetworkLogsFunction · 0.90

Tested by

no test coverage detected