axe
Advanced tools
Comparing version 8.1.1 to 8.1.2
@@ -105,3 +105,3 @@ "use strict"; | ||
show: process.env.SHOW_META ? boolean(process.env.SHOW_META) : true, | ||
showApp: process.env.SHOW_META_APP ? boolean(process.env.SHOW_META_APP) : true, | ||
showApp: process.env.SHOW_META_APP ? boolean(process.env.SHOW_META_APP) : false, | ||
omittedFields: process.env.OMIT_META_FIELDS ? process.env.OMIT_META_FIELDS.split(',').map(function (s) { | ||
@@ -108,0 +108,0 @@ return s.trim(); |
{ | ||
"name": "axe", | ||
"description": "Logging add-on to send logs over HTTP to your server in Node and Browser environments. Works with any logger! Chop up your logs consistently! Made for Cabin and Lad.", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)", | ||
@@ -6,0 +6,0 @@ "ava": { |
@@ -306,3 +306,3 @@ # Axe | ||
* `show` (Boolean) - defaults to `true` (attempts to parse a boolean value from `process.env.SHOW_META` – meaning you can pass a flag `SHOW_META=true node app.js` when needed for debugging), whether or not to output metadata to logger methods. | ||
* `showApp` (Boolean) - defaults to `true` (attempts to parse a boolean value from `process.env.SHOW_META_APP` – meaning you can pass a flag `SHOW_META_APP=true node app.js` when needed for debugging), whether or not to output `appInfo` in the metadata to logger methods. | ||
* `showApp` (Boolean) - defaults to `false` (attempts to parse a boolean value from `process.env.SHOW_META_APP` – meaning you can pass a flag `SHOW_META_APP=true node app.js` when needed for debugging), whether or not to output `appInfo` in the metadata to logger methods. | ||
* `omittedFields` (Array) - defaults to `[]` (attempts to parse an array value from `process.env.OMIT_META_FIELDS` (`,` delimited) - meaning you can pass a flag `OMIT_META_FIELDS=user,id node app.js`), determining which fields to omit in the metadata passed to logger methods. | ||
@@ -309,0 +309,0 @@ * `silent` (Boolean) - defaults to `false`, whether or not to suppress log output to console |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
322866