mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-29 06:29:03 +02:00
refactor: unify log format with new logger utility (#5994)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
faef753730
commit
770418f8d2
66 changed files with 717 additions and 650 deletions
11
packages/docusaurus-logger/src/__mocks__/chalk.js
Normal file
11
packages/docusaurus-logger/src/__mocks__/chalk.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
const chalk = require('chalk');
|
||||
|
||||
// Force coloring the output even in CI
|
||||
module.exports = new chalk.Instance({level: 3});
|
Loading…
Add table
Add a link
Reference in a new issue