Socket
Socket
Sign inDemoInstall

@highoutput/logger

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highoutput/logger - npm Package Compare versions

Comparing version 0.5.15 to 0.5.17

0

dist/index.d.ts

@@ -0,0 +0,0 @@ declare type Argument = number | string | Error | object | unknown;

@@ -0,0 +0,0 @@ "use strict";

export declare const serialize: (object: any) => any;
//# sourceMappingURL=serialize.d.ts.map

@@ -0,0 +0,0 @@ "use strict";

19

package.json
{
"name": "@highoutput/logger",
"version": "0.5.15",
"version": "0.5.17",
"main": "dist/index.js",

@@ -9,2 +9,8 @@ "dependencies": {

},
"scripts": {
"clean": "rimraf dist/",
"build": "npm run clean && tsc --project tsconfig.json",
"test": "mocha \"./test/**/*.spec.ts\"",
"prepublish": "npm run build"
},
"author": "High Output Ventures",

@@ -27,10 +33,3 @@ "license": "MIT",

},
"gitHead": "e37c7b1d2fa268768aaa580972fe079cd55a3526",
"scripts": {
"clean": "rimraf dist/",
"build": "npm run clean && tsc --project tsconfig.json",
"test": "mocha \"./test/**/*.spec.ts\"",
"prepublish": "npm run build"
},
"readme": "# @highoutput/logger\r\n\r\n## Class: `Logger`\r\nGenerate logs that follow a certain format.\r\n\r\n### `new Logger(tags)`\r\n* `tags` `(Array<string>)`\r\n\r\n### `logger.tag(tag)`-\r\n* `tag` `(string)`\r\n* Returns: `(Logger)`\r\n\r\n### `logger.error(arg0[,arg1][,arg2]...)`\r\n* `arg0` `(string|Object|)`\r\n* `arg1` `(string|Object|)`\r\n* `arg2` `(string|Object|)`\r\n\r\n### `logger.warn(arg0[,arg1][,arg2]...)`\r\n* `arg0` `(string|Object|)`\r\n* `arg1` `(string|Object|)`\r\n* `arg2` `(string|Object|)`\r\n\r\n### `logger.info(arg0[,arg1][,arg2]...)`\r\n* `arg0` `(string|Object|)`\r\n* `arg1` `(string|Object|)`\r\n* `arg2` `(string|Object|)`\r\n\r\n### `logger.verbose(arg0[,arg1][,arg2]...)`\r\n* `arg0` `(string|Object|)`\r\n* `arg1` `(string|Object|)`\r\n* `arg2` `(string|Object|)`\r\n\r\n### `logger.silly(arg0[,arg1][,arg2]...)`\r\n* `arg0` `(string|Object|)`\r\n* `arg1` `(string|Object|)`\r\n* `arg2` `(string|Object|)`\r\n\r\n### Examples\r\n```javascript\r\nimport { Logger } from 'highoutput-utilities';\r\n\r\nconst logger = new Logger(['api']);\r\n\r\nlogger.info('Read this!');\r\nlogger.error(new Error('A nasty error.'));\r\nlogger.silly('My dog will not bite you, probably.');\r\nlogger.verbose('You want some log?');\r\nlogger.warn('I kill you!');\r\n\r\nlogger.tag('http').verbose({ host: '127.0.0.1', pathname: '/' });\r\n```\r\n"
}
"gitHead": "8345aecd1dcdc0ed6b2ed69cca6dba09bd80a22c"
}

@@ -0,0 +0,0 @@ # @highoutput/logger

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc