{
  "_args": [
    [
      {
        "raw": "log-driver@https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
        "scope": null,
        "escapedName": "log-driver",
        "name": "log-driver",
        "rawSpec": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
        "spec": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
        "type": "remote"
      },
      "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin"
    ]
  ],
  "_from": "log-driver@>=1.2.5 <2.0.0",
  "_id": "log-driver@1.2.5",
  "_inCache": true,
  "_location": "/firebase-admin/log-driver",
  "_phantomChildren": {},
  "_requested": {
    "raw": "log-driver@https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
    "scope": null,
    "escapedName": "log-driver",
    "name": "log-driver",
    "rawSpec": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
    "spec": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/firebase-admin",
    "/firebase-admin/@google-cloud/common"
  ],
  "_resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
  "_shasum": "7ae4ec257302fd790d557cb10c97100d857b0056",
  "_shrinkwrap": null,
  "_spec": "log-driver@https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz",
  "_where": "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin",
  "bugs": {
    "url": "https://github.com/cainus/logdriver/issues"
  },
  "dependencies": {},
  "description": "log-driver is a simple logging framework for logging to stdout",
  "devDependencies": {
    "coveralls": "2.10.0",
    "istanbul": "0.2.6",
    "jshint": "2.4.4",
    "mocha": "1.20.1",
    "should": "1.1.0",
    "sinon-restore": "1.0.1"
  },
  "engines": {
    "node": ">=0.8.6"
  },
  "homepage": "https://github.com/cainus/logdriver#readme",
  "keywords": [
    "logging",
    "logger",
    "log"
  ],
  "maintainers": [
    {
      "name": "Gregg Caines",
      "email": "gregg@caines.ca",
      "url": "http://caines.ca"
    }
  ],
  "name": "log-driver",
  "optionalDependencies": {},
  "readme": "![Log Driver][logdriver-logo]\n=========\n[![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![NPM Version][npm-image]][npm-url]\n\nLogdriver is a node.js logger that only logs to stdout.\n\n####You're going to want to log the output of stdout and stderr anyway, so you might as well put all your logging through stdout.  Logging libraries that don't write to stdout or stderr are missing absolutely critical output like the stack trace if/when your app dies.  \n\n##There are some other nice advantages:\n* When working on your app locally, logs just show up in stdout just like if you'd used console.log().  That's a heck of a lot simpler than tailing a log file.\n* Logging transports can be externalized from your app entirely, and completely decoupled.  This means if you want to log to irc, you write an irc client script that reads from stdin, and you just pipe your app's output to that script.\n\n```console\nnode yourapp.js 2>&1 | node ircloggerbot.js \n```\n* You can still easily log to a file on a production server by piping your stdout and stderr to a file like so when you initialize your app:\n\n```console\nnode yourapp.js 2>&1 >> somefile.log \n```\n\nNB: If you're logging to a file, [Logrotate](http://linuxcommand.org/man_pages/logrotate8.html) is probably going to be your best friend.\n* You can still easily log to syslog by piping your stdout and stderr to the 'logger' command like so:\n\n```console\nnode yourapp.js 2>&1 | logger\n```\n\n##Usage:\nGetting the default logger:\n```javascript\nvar logger = require('log-driver').logger;\n```\n\nThis logger has levels 'error', 'warn', 'info', 'debug', and 'trace'.\nIf you don't like those levels, change the default:\n\n```javascript\nvar logger = require('log-driver')({\n  levels: ['superimportant', 'checkthisout', 'whocares' ]\n});\nlogger.whocares(\"brangelina in lover's quarrel!\");\n```\n\nSpecifying what log level to log at to make logs less chatty:\n```javascript\nvar logger = require('log-driver')({ level: \"info\" });\nlogger.info(\"info test\"); \nlogger.warn(\"warn test\"); \nlogger.error(\"error test\"); \nlogger.trace(\"trace test\"); \n```\noutput:\n```console\n[info] \"2013-03-26T18:30:14.570Z\"  'info test'\n[warn] \"2013-03-26T18:30:14.573Z\"  'warn test'\n[error] \"2013-03-26T18:30:14.574Z\"  'error test'\n```\n(notice the trace() call was omitted because it's less than the info\nlevel.\n\nTurning off all log output (sometimes nice for automated tests to keep\noutput clean):\n```javascript\nvar logger = require('log-driver')({ level: false });\n```\n\nUsing the same logger everywhere:\nThe last logger you created is always available this way:\n```javascript\nvar logger = require('log-driver').logger;\n```\nThis way, if you use only one logger in your application (like most\napplications), you can just configure it once, and get it this way\neverywhere else.\n\nDon't like the logging format?  Just change it by passing a new\nformatting function like so:\n```javascript\nvar logger = require('log-driver')({ \n  format: function() {\n    // let's do pure JSON:\n    return JSON.stringify(arguments);\n  }\n});\n```\n\n![Log Driver](https://raw.github.com/cainus/logdriver/master/waltz.jpg)\n\n[logdriver-logo]: https://raw.github.com/cainus/logdriver/master/logo.png\n\n[travis-image]: https://travis-ci.org/cainus/logdriver.png?branch=master\n[travis-url]: https://travis-ci.org/cainus/logdriver\n\n[coveralls-image]: https://coveralls.io/repos/cainus/logdriver/badge.png?branch=master\n[coveralls-url]: https://coveralls.io/repos/cainus/logdriver\n\n[npm-image]: https://badge.fury.io/js/log-driver.png\n[npm-url]: https://badge.fury.io/js/log-driver\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/cainus/logdriver.git"
  },
  "scripts": {
    "test": "make test-coveralls"
  },
  "version": "1.2.5"
}
