log4js-node-amqp
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "log4js-node-amqp", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An AMQP appender for log4js-node", | ||
@@ -29,4 +29,4 @@ "main": "lib/index.js", | ||
"standard": "^5.4.1", | ||
"tape": "~2.3.2" | ||
"tape": "^4.4.0" | ||
} | ||
} |
@@ -5,5 +5,16 @@ log4js-node-amqp | ||
[![NPM](https://nodei.co/npm/log4js-node-amqp.png)](https://nodei.co/npm/log4js-node-amqp/) | ||
[![travis][travis-image]][travis-url] | ||
[![npm][npm-image]][npm-url] | ||
[![downloads][downloads-image]][downloads-url] | ||
[![standard][standard-image]][standard-url] | ||
[![Build Status](https://travis-ci.org/maxnachlinger/log4js-node-amqp.svg?branch=master)](https://travis-ci.org/maxnachlinger/log4js-node-amqp) | ||
[travis-image]: https://travis-ci.org/maxnachlinger/log4js-node-amqp.svg?branch=master | ||
[travis-url]: https://travis-ci.org/maxnachlinger/log4js-node-amqp | ||
[npm-image]: https://img.shields.io/npm/v/log4js-node-amqp.svg?style=flat | ||
[npm-url]: https://npmjs.org/package/log4js-node-amqp | ||
[downloads-image]: https://img.shields.io/npm/dm/log4js-node-amqp.svg?style=flat | ||
[downloads-url]: https://npmjs.org/package/log4js-node-amqp | ||
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg | ||
[standard-url]: http://standardjs.com/ | ||
### Installation: | ||
@@ -26,3 +37,3 @@ ``` | ||
// this is a space for you to add custom bits to every log message | ||
additonalInfo: { | ||
additionalInfo: { | ||
machine: require("os").hostname(), | ||
@@ -48,3 +59,3 @@ applicationName: 'example application' | ||
// this is a space for you to add custom bits to every log message | ||
additonalInfo: { | ||
additionalInfo: { | ||
machine: require("os").hostname(), | ||
@@ -104,3 +115,3 @@ applicationName: 'example application' | ||
// this is a space for you to add custom bits to every log message | ||
additonalInfo: { | ||
additionalInfo: { | ||
// | ||
@@ -117,4 +128,4 @@ }, | ||
```javascript | ||
// Everything log4js provides, + whatever you added to additonalInfo | ||
// (keys in additonalInfo are added as keys to the log message). | ||
// Everything log4js provides, + whatever you added to additionalInfo | ||
// (keys in additionalInfo are added as keys to the log message). | ||
{ | ||
@@ -121,0 +132,0 @@ timestamp: Fri Dec 20 2013 20:54:22 GMT-0800 (PST), |
Sorry, the diff of this file is not supported yet
16
154
64530