koatty_logger
Advanced tools
Comparing version 1.3.10 to 1.3.12
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.3.12](https://github.com/thinkkoa/koatty_logger/compare/v1.3.10...v1.3.12) (2021-12-21) | ||
### [1.3.10](https://github.com/thinkkoa/koatty_logger/compare/v1.3.8...v1.3.10) (2021-12-21) | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2021-12-21 11:30:08 | ||
* @Date: 2021-12-21 11:45:10 | ||
* @License: BSD (3-Clause) | ||
@@ -188,9 +188,2 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
/** | ||
* log Success | ||
* | ||
* @returns {*} | ||
* @memberof Logger | ||
*/ | ||
Success(...args: any[]): void; | ||
/** | ||
* log Error | ||
@@ -197,0 +190,0 @@ * |
/*! | ||
* @Author: richen | ||
* @Date: 2021-12-21 11:29:58 | ||
* @Date: 2021-12-21 11:44:57 | ||
* @License: BSD (3-Clause) | ||
@@ -135,3 +135,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
* @LastEditors: Please set LastEditors | ||
* @LastEditTime: 2021-12-21 11:28:44 | ||
* @LastEditTime: 2021-12-21 11:40:42 | ||
* @License: BSD (3-Clause) | ||
@@ -415,11 +415,2 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
/** | ||
* log Success | ||
* | ||
* @returns {*} | ||
* @memberof Logger | ||
*/ | ||
Success(...args) { | ||
return this.print("INFO", "", "green", args); | ||
} | ||
/** | ||
* log Error | ||
@@ -453,3 +444,3 @@ * | ||
name = args[0]; | ||
color = args[1]; | ||
color = args[1] || color; | ||
msgs = args.slice(2); | ||
@@ -464,3 +455,3 @@ } | ||
} | ||
return this.print("DEBUG", name, color, msgs); | ||
return this.print("INFO", name, color, msgs); | ||
} | ||
@@ -467,0 +458,0 @@ /** |
{ | ||
"name": "koatty_logger", | ||
"version": "1.3.10", | ||
"version": "1.3.12", | ||
"description": "Logger for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -45,5 +45,4 @@ <!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
| [setSensFields(fields)](./koatty_logger.logger.setsensfields.md) | | setSensFields | | ||
| [Success(args)](./koatty_logger.logger.success.md) | | log Success | | ||
| [Warn(args)](./koatty_logger.logger.warn.md) | | log Warn | | ||
| [Write(args)](./koatty_logger.logger.write.md) | | write log file | | ||
{ | ||
"name": "koatty_logger", | ||
"version": "1.3.10", | ||
"version": "1.3.12", | ||
"description": "Logger for koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1854344
58
1772