Clear adb logcat when clearing Flipper logs
Summary: When using "Clear logs" in Flipper, also flush the native Android buffer. Reviewed By: jknoxville Differential Revision: D14225722 fbshipit-source-id: f41ff9013b95fc3271d3ae44910da18023708d2d
This commit is contained in:
committed by
Facebook Github Bot
parent
ea03aa36b7
commit
edbe2555fc
@@ -522,6 +522,9 @@ export default class LogTable extends FlipperDevicePlugin<
|
||||
}
|
||||
|
||||
clearLogs = () => {
|
||||
this.device.clearLogs().catch(e => {
|
||||
console.error('Failed to clear logs: ', e);
|
||||
});
|
||||
this.setState({
|
||||
entries: [],
|
||||
rows: [],
|
||||
|
||||
Reference in New Issue
Block a user