mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Remove red color from the kbn-pm logs (#24362)
* feat(NA): remove red color from the kbn-pm logs. * refact(NA): removed gray color from the generateColors function. * chore(NA): update missing km pm dist file.
This commit is contained in:
parent
8acf04b417
commit
7a2627797f
2 changed files with 2 additions and 2 deletions
2
packages/kbn-pm/dist/index.js
vendored
2
packages/kbn-pm/dist/index.js
vendored
|
@ -35330,7 +35330,7 @@ var _strongLogTransformer2 = _interopRequireDefault(_strongLogTransformer);
|
|||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function generateColors() {
|
||||
const colorWheel = [_chalk2.default.cyan, _chalk2.default.magenta, _chalk2.default.blue, _chalk2.default.yellow, _chalk2.default.green, _chalk2.default.red];
|
||||
const colorWheel = [_chalk2.default.cyan, _chalk2.default.magenta, _chalk2.default.blue, _chalk2.default.yellow, _chalk2.default.green];
|
||||
const count = colorWheel.length;
|
||||
let children = 0;
|
||||
return () => colorWheel[children++ % count];
|
||||
|
|
|
@ -23,7 +23,7 @@ import logSymbols from 'log-symbols';
|
|||
import logTransformer from 'strong-log-transformer';
|
||||
|
||||
function generateColors() {
|
||||
const colorWheel = [chalk.cyan, chalk.magenta, chalk.blue, chalk.yellow, chalk.green, chalk.red];
|
||||
const colorWheel = [chalk.cyan, chalk.magenta, chalk.blue, chalk.yellow, chalk.green];
|
||||
|
||||
const count = colorWheel.length;
|
||||
let children = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue