GT2/GT2-Android/node_modules/glogg/package.json

112 lines
5.1 KiB
JSON

{
"_args": [
[
{
"raw": "glogg@^1.0.0",
"scope": null,
"escapedName": "glogg",
"name": "glogg",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/gulplog"
]
],
"_from": "glogg@>=1.0.0 <2.0.0",
"_id": "glogg@1.0.1",
"_inCache": true,
"_location": "/glogg",
"_nodeVersion": "8.9.4",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/glogg-1.0.1.tgz_1516747557172_0.19143295707181096"
},
"_npmUser": {
"name": "phated",
"email": "blaine.bublitz@gmail.com"
},
"_npmVersion": "5.6.0",
"_phantomChildren": {},
"_requested": {
"raw": "glogg@^1.0.0",
"scope": null,
"escapedName": "glogg",
"name": "glogg",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/gulplog"
],
"_resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.1.tgz",
"_shasum": "dcf758e44789cc3f3d32c1f3562a3676e6a34810",
"_shrinkwrap": null,
"_spec": "glogg@^1.0.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/gulplog",
"author": {
"name": "Blaine Bublitz",
"email": "blaine@iceddev.com",
"url": "http://iceddev.com/"
},
"bugs": {
"url": "https://github.com/js-cli/glogg/issues"
},
"contributors": [],
"dependencies": {
"sparkles": "^1.0.0"
},
"description": "Global logging utility",
"devDependencies": {
"eslint": "^1.7.3",
"eslint-config-gulp": "^2.1.0",
"expect": "^1.20.2",
"mocha": "^2.5.3"
},
"directories": {},
"dist": {
"integrity": "sha512-ynYqXLoluBKf9XGR1gA59yEJisIL7YHEH4xr3ZziHB5/yl4qWfaK8Js9jGe6gBGCSCKVqiyO30WnRZADvemUNw==",
"shasum": "dcf758e44789cc3f3d32c1f3562a3676e6a34810",
"tarball": "https://registry.npmjs.org/glogg/-/glogg-1.0.1.tgz"
},
"engines": {
"node": ">= 0.10"
},
"files": [
"LICENSE",
"index.js"
],
"gitHead": "7def97d04e23a7f2f55bdf310212f28bfde09098",
"homepage": "https://github.com/js-cli/glogg#readme",
"keywords": [
"global",
"log",
"logger",
"logging",
"shared"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "phated",
"email": "blaine@iceddev.com"
}
],
"name": "glogg",
"optionalDependencies": {},
"readme": "# glogg\n\n[![Travis Build Status](https://img.shields.io/travis/js-cli/glogg/master.svg?label=travis&style=flat-square)](https://travis-ci.org/js-cli/glogg)\n\nGlobal logging utility\n\n## Usage\n\n```js\nvar getLogger = require('glogg');\n\nvar logger = getLogger('my-namespace');\n\n// logs strings\nlogger.debug('The MOST verbose!');\nlogger.info('Some important info');\nlogger.warn('All the warnings to you');\nlogger.error('OH NO! SOMETHING HAPPENED!');\n\n// supports util.format!\nlogger.info('%s style!', 'printf');\n\n// log anything\nlogger.debug({ my: 'obj' });\nlogger.info([1, 2, 3]);\n\n// somewhere else\nlogger.on('info', function(msg){\n // do something with msg\n});\n\n// must be handled to avoid crashing process\nlogger.on('error', function(msg){\n // now it won't crash\n});\n```\n\n## API\n\n__Note: This module makes no assumptions about the log levels and they will always\nbe emitted. If you are looking to filter some out, your listeners will need to have\nextra logic.__\n\n### getLogger([namespace])\n\nCreate a new logger at the given namespace (or the default if no namespace is provided).\nReturns an augmented [`sparkles`](https://github.com/phated/sparkles) EventEmitter object\nwith 4 methods: `debug()`, `info()`, `warn()` and `error()`. When called, these methods emit\nan event with the same name. If the first argument is a string, the arguments\nare passed through node's `util.format()` before being emitted. Other parts\nof a node program can get the logger by namespace and listen for the events to\nbe emitted.\n\n#### logger.debug(msg)\n\nEmits a `debug` event with the given `msg`.\n\nIf the first argument is a string, all arguments are passed to node's\n`util.format()` before being emitted.\n\n#### logger.info(msg)\n\nEmits a `info` event with the given `msg`.\n\nIf the first argument is a string, all arguments are passed to node's\n`util.format()` before being emitted.\n\n#### logger.warn(msg)\n\nEmits a `warn` event with the given `msg`.\n\nIf the first argument is a string, all arguments are passed to node's\n`util.format()` before being emitted.\n\n#### logger.error(msg)\n\nEmits a `error` event with the given `msg`.\n\nIf the first argument is a string, all arguments are passed to node's\n`util.format()` before being emitted.\n\n__Note: You must handle this event in some way or the node process will crash\nwhen an `error` event is emitted.__\n\n#### logger.on(event, fn)\n\nStandard API from node's `EventEmitter`. Use this to listen for events from\nthe logger methods.\n\n## License\n\nMIT\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/js-cli/glogg.git"
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "mocha --async-only"
},
"version": "1.0.1"
}