Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
e648a787e5 | |||
96bc87ecbd | |||
de81a174f8 | |||
027216914d |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartlog",
|
"name": "@pushrocks/smartlog",
|
||||||
"version": "2.0.16",
|
"version": "2.0.18",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartlog",
|
"name": "@pushrocks/smartlog",
|
||||||
"version": "2.0.16",
|
"version": "2.0.18",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "minimalistic distributed and extensible logging tool",
|
"description": "minimalistic distributed and extensible logging tool",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -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