mobiletto 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const fs = require('fs')
|
|
2
2
|
const path = require('path')
|
|
3
3
|
const { Readable, Transform } = require('stream')
|
|
4
|
-
const { logger } = require('./util/logger')
|
|
4
|
+
const { logger, setLogLevel: setLoggerLevel } = require('./util/logger')
|
|
5
5
|
const redis = require('./util/redis')
|
|
6
6
|
const { basename, dirname } = require('path')
|
|
7
7
|
const shasum = require('shasum')
|
|
@@ -615,10 +615,13 @@ const M_DIR = 'dir'
|
|
|
615
615
|
const M_LINK = 'link'
|
|
616
616
|
const M_SPECIAL = 'special'
|
|
617
617
|
|
|
618
|
+
const setLogLevel = level => setLoggerLevel(level)
|
|
619
|
+
|
|
618
620
|
module.exports = {
|
|
619
621
|
M_FILE, M_DIR, M_LINK, M_SPECIAL,
|
|
620
622
|
isAsyncGenerator, isReadable,
|
|
621
623
|
mobiletto, connect,
|
|
622
624
|
MobilettoError, MobilettoNotFoundError,
|
|
625
|
+
setLogLevel,
|
|
623
626
|
readStream, writeStream, closeStream
|
|
624
627
|
}
|