Add sessionId to redux store and Logger output
Summary: I've left InteractionTracker without a store, so it doesn't know the sessionId. It really should have one, but that will have to be a different change. We don't actually use the InteractionTracker at the moment so it's not a major deal for now. The idea is to be able to get data like what percentage of sessions encounter an error, and how many errors sessions usually have etc. Reviewed By: passy Differential Revision: D13624031 fbshipit-source-id: 664e7ac5023166c2f72df3058c219901be7ff77a
This commit is contained in:
committed by
Facebook Github Bot
parent
0033de50ae
commit
005383f94b
@@ -10,7 +10,7 @@ export type TrackType = 'duration' | 'usage' | 'performance';
|
||||
import ScribeLogger from './ScribeLogger';
|
||||
|
||||
export default class LogManager {
|
||||
constructor() {
|
||||
constructor(store: ?Store) {
|
||||
this.scribeLogger = new ScribeLogger(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user