@vodafoneuk/aim-mocking-logger
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -6,3 +6,2 @@ import merge from 'lodash/merge.js'; | ||
import { EOL } from 'os'; | ||
import symbols from 'log-symbols'; | ||
import stripAnsi from 'strip-ansi'; | ||
@@ -567,8 +566,7 @@ import isUndefined from 'lodash/isUndefined.js'; | ||
* Yarn success | ||
* @param message | ||
* @param title | ||
* @param values | ||
*/ | ||
async success(message, ...values) { | ||
let logOutput = `${stringFill("- [FILL] -")} | ||
${chalk.gray("[")} ${symbols.success} ${chalk.gray("]")} ${chalk.green("Success: ")} ${message} | ||
async success(title, ...values) { | ||
let logOutput = `${chalk.green(title)} | ||
${stringFill("- [FILL] -")}`; | ||
@@ -586,8 +584,7 @@ if (values.length) { | ||
* Yarn Failure | ||
* @param message | ||
* @param titile | ||
* @param values | ||
*/ | ||
async failure(message, ...values) { | ||
let logOutput = `${stringFill("- [FILL] -")} | ||
${chalk.gray("[")} ${symbols.error} ${chalk.gray("]")} ${chalk.red("Failure: ")} ${message} | ||
async failure(titile, ...values) { | ||
let logOutput = `${chalk.red(titile)} | ||
${stringFill("- [FILL] -")}`; | ||
@@ -594,0 +591,0 @@ if (values.length) { |
{ | ||
"name": "@vodafoneuk/aim-mocking-logger", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Api Interceptor Middleware - localized cache lib and middleware for dalmatian and other api calls", | ||
@@ -40,3 +40,3 @@ "author": "Radoslaw Swiat", | ||
}, | ||
"gitHead": "53a918695c1e5fed6acbd79929194f1ac418a3a1" | ||
"gitHead": "02ef0c30c69ae8aab7536a58852e03e4db56f9c7" | ||
} |
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
58024
1486