@highoutput/logger
Advanced tools
Comparing version 0.5.17 to 0.5.18
@@ -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"; |
{ | ||
"name": "@highoutput/logger", | ||
"version": "0.5.17", | ||
"version": "0.5.18", | ||
"main": "dist/index.js", | ||
@@ -9,8 +9,2 @@ "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", | ||
@@ -33,3 +27,10 @@ "license": "MIT", | ||
}, | ||
"gitHead": "8345aecd1dcdc0ed6b2ed69cca6dba09bd80a22c" | ||
} | ||
"gitHead": "63bc0ff46d6166cea8c507c2dbaf71409f8ddd9f", | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14579