Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 68d7eb8

Browse files
committed
disable Web API logs
1 parent b2661d8 commit 68d7eb8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/polyfill/Blob.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import EventTarget from './EventTarget'
1111
const log = new Log('Blob')
1212
const blobCacheDir = fs.dirs.DocumentDir + '/RNFetchBlob-blobs/'
1313

14-
log.level(3)
14+
log.disable()
1515

1616
/**
1717
* A RNFetchBlob style Blob polyfill class, this is a Blob which compatible to

src/polyfill/EventTarget.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Log from '../utils/log.js'
66

77
const log = new Log('EventTarget')
88

9+
log.disable()
10+
911
export default class EventTarget {
1012

1113
listeners : any;

src/polyfill/XMLHttpRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ProgressEvent from './ProgressEvent.js'
1010

1111
const log = new Log('XMLHttpRequest')
1212

13-
log.level(3)
13+
log.disable()
1414

1515
const UNSENT = 0
1616
const OPENED = 1

0 commit comments

Comments
 (0)