Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
de81a174f8 | |||
027216914d | |||
34cc6cbed5 | |||
0bcca99349 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartlog",
|
"name": "@pushrocks/smartlog",
|
||||||
"version": "2.0.15",
|
"version": "2.0.17",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
12
package.json
12
package.json
@ -1,8 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartlog",
|
"name": "@pushrocks/smartlog",
|
||||||
"version": "2.0.15",
|
"version": "2.0.17",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "winston based logger for large scale projects",
|
"description": "minimalistic distributed and extensible logging tool",
|
||||||
|
"keywords": [
|
||||||
|
"logging",
|
||||||
|
"centralized logging",
|
||||||
|
"json logging",
|
||||||
|
"scalyr",
|
||||||
|
"elasticsearch",
|
||||||
|
"logdna"
|
||||||
|
],
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
|
12
readme.md
12
readme.md
@ -1,4 +1,4 @@
|
|||||||
# smartlog
|
# @pushrocks/smartlog
|
||||||
minimalistic distributed and extensible logging tool
|
minimalistic distributed and extensible logging tool
|
||||||
|
|
||||||
## Availabililty and Links
|
## Availabililty and Links
|
||||||
@ -12,8 +12,8 @@ minimalistic distributed and extensible logging tool
|
|||||||
[](https://gitlab.com/pushrocks/smartlog/commits/master)
|
[](https://gitlab.com/pushrocks/smartlog/commits/master)
|
||||||
[](https://www.npmjs.com/package/@pushrocks/smartlog)
|
[](https://www.npmjs.com/package/@pushrocks/smartlog)
|
||||||
[](https://snyk.io/test/npm/@pushrocks/smartlog)
|
[](https://snyk.io/test/npm/@pushrocks/smartlog)
|
||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||||
[](http://standardjs.com/)
|
[](http://standardjs.com/)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -26,10 +26,10 @@ smartlog id s minimal logging package that provides a consistent experience acro
|
|||||||
import { Smartlog } from '@pushrocks/smartlog';
|
import { Smartlog } from '@pushrocks/smartlog';
|
||||||
const logger = new Smartlog({
|
const logger = new Smartlog({
|
||||||
{
|
{
|
||||||
company?: 'My awesome company',
|
company: 'My awesome company',
|
||||||
companyunit?: 'my awesome cloud team',
|
companyunit: 'my awesome cloud team',
|
||||||
containerName?: 'awesome-container',
|
containerName?: 'awesome-container',
|
||||||
environment: TEnvironment: 'kubernetes-production',
|
environment: 'kubernetes-production',
|
||||||
runtime: 'node',
|
runtime: 'node',
|
||||||
zone: 'zone x'
|
zone: 'zone x'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user