Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.13 to 0.5.15

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.13",
"version": "0.5.15",
"main": "dist/index.js",

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

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

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

},
"gitHead": "028a554c671ad705b7b4ffde9862c3e01031c08d"
}
"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"
}

@@ -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