MCPcopy Create free account
hub / github.com/benwinding/react-admin-import-csv / error

Method error

src/SimpleLogger.ts:34–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 public get error() {
35 if (!this.debug) {
36 return (...any) => {};
37 }
38 const boundLogFn: (...any) => void = console.error.bind(
39 console,
40 this.getLogString()
41 );
42 return boundLogFn;
43 }
44
45 setEnabled(logging: boolean) {
46 this.debug = logging;

Callers 9

MainCsvImportFunction · 0.95
handleReplaceFunction · 0.80
createInDataProviderFunction · 0.80
updateInDataProviderFunction · 0.80
GetIdsCollidingFunction · 0.80
GetIdsCollidingGetSingleFunction · 0.80
GetIdsCollidingGetManyFunction · 0.80
CheckCSVValidationFunction · 0.80
GetCSVItemsFunction · 0.80

Calls 1

getLogStringMethod · 0.95

Tested by

no test coverage detected