Remove logger dependency
Summary: Found that one of the parameters wasn't used for anything making it harder to make sense of the construct and test it. Reviewed By: nikoant Differential Revision: D27117591 fbshipit-source-id: f4c796dd37b0bd75497710fb9f88c923181f90e1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
414dd4d5ff
commit
9b44305f1c
@@ -8,15 +8,10 @@
|
||||
*/
|
||||
|
||||
import {Logger, Args, TrackType} from '../fb-interfaces/Logger';
|
||||
import ScribeLogger from '../fb-stubs/ScribeLogger';
|
||||
import {Store} from '../reducers/index';
|
||||
|
||||
export default class StubLogger implements Logger {
|
||||
constructor(_store: Store, _args?: Args) {
|
||||
this.scribeLogger = new ScribeLogger(this);
|
||||
}
|
||||
|
||||
scribeLogger: ScribeLogger;
|
||||
constructor(_store: Store, _args?: Args) {}
|
||||
|
||||
track(_type: TrackType, _event: string, _data?: any, _plugin?: string) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user