mobiletto 1.0.36 → 1.0.37

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -315,11 +315,13 @@ Logs **will** contain file paths and error messages, but will **never** contain
315
315
  or any other connection configuration information.
316
316
 
317
317
  ### Log level
318
- Use the `MOBILETTO_LOG_LEVEL` environment variable to set the log level.
318
+ Use the `MOBILETTO_LOG_LEVEL` environment variable to set the log level, using one
319
+ of the `npm` levels defined in [https://www.npmjs.com/package/winston#logging-levels](https://www.npmjs.com/package/winston#logging-levels)
320
+
319
321
  The default level is `warn`. The most verbose level is `silly`, although currently mobiletto
320
322
  does not log at levels below `debug`
321
323
 
322
- MOBILETTO_LOG_LEVEL=silly
324
+ MOBILETTO_LOG_LEVEL=silly # maximum logs!
323
325
 
324
326
  ### Log file
325
327
  By default, the logger writes to the console. To send logs to a file, set the `MOBILETTO_LOG_FILE`
@@ -330,4 +332,3 @@ environment variable. When logging to a file, logs will no longer be written to
330
332
  To turn off logging:
331
333
 
332
334
  MOBILETTO_LOG_FILE=/dev/null
333
- MOBILETTO_LOG_LEVEL=emerg # not strictly necessary; minimizes time spent in logging code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "A storage abstraction layer",
5
5
  "main": "index.js",
6
6
  "author": "Jonathan Cobb",