Send connectivity logs to scuba
Summary: ^ A dashboard to display the logs from a user session will be built next. Reviewed By: antonk52 Differential Revision: D47944634 fbshipit-source-id: fb9e53981de5abb401c93c47cdec68f72c944b94
This commit is contained in:
committed by
Facebook GitHub Bot
parent
830ac6eac9
commit
430a42ec7a
@@ -11,6 +11,7 @@ import {
|
|||||||
ClientQuery,
|
ClientQuery,
|
||||||
ConnectionRecordEntry,
|
ConnectionRecordEntry,
|
||||||
CommandRecordEntry,
|
CommandRecordEntry,
|
||||||
|
getLogger,
|
||||||
} from 'flipper-common';
|
} from 'flipper-common';
|
||||||
import {FlipperServerImpl} from './FlipperServerImpl';
|
import {FlipperServerImpl} from './FlipperServerImpl';
|
||||||
|
|
||||||
@@ -84,6 +85,7 @@ class Recorder {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.flipperServer_.emit('connectivity-troubleshoot-log', entry);
|
this.flipperServer_.emit('connectivity-troubleshoot-log', entry);
|
||||||
|
getLogger().track('usage', 'connectivity-log', entry);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user