Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

consola

unjs35.1mMIT3.4.0TypeScript support: included

Elegant Console Wrapper

console, logger, reporter, elegant, cli, universal, unified, prompt, clack, format, error, stacktrace

readme

🐨 Consola

Elegant Console Wrapper

npm version npm downloads bundle

Why Consola?

👌  Easy to use
💅  Fancy output with fallback for minimal environments
🔌  Pluggable reporters
💻  Consistent command line interface (CLI) experience
🏷  Tag support
🚏  Redirect console and stdout/stderr to consola and easily restore redirect.
🌐  Browser support
⏯  Pause/Resume support
👻  Mocking support
👮‍♂️  Spam prevention by throttling logs
❯  Interactive prompt support powered by clack

Installation

Using npm:

npm i consola

Using yarn:

yarn add consola

Using pnpm:

pnpm i consola

Getting Started

// ESM
import { consola, createConsola } from "consola";

// CommonJS
const { consola, createConsola } = require("consola");

consola.info("Using consola 3.0.0");
consola.start("Building project...");
consola.warn("A new version of consola is available: 3.0.1");
consola.success("Project built!");
consola.error(new Error("This is an example error. Everything is fine!"));
consola.box("I am a simple box");
await consola.prompt("Deploy to the production?", {
  type: "confirm",
});

Will display in the terminal:

consola-screenshot

You can use smaller core builds without fancy reporter to save 80% of the bundle size:

import { consola, createConsola } from "consola/basic";
import { consola, createConsola } from "consola/browser";
import { createConsola } from "consola/core";

Consola Methods

<type>(logObject) <type>(args...)

Log to all reporters.

Example: consola.info('Message')

await prompt(message, { type, cancel })

Show an input prompt. Type can either of text, confirm, select or multiselect.

If prompt is canceled by user (with Ctrol+C), default value will be resolved by default. This strategy can be configured by setting { cancel: "..." } option:

  • "default" - Resolve the promise with the default value or initial value.
  • "undefined" - Resolve the promise with undefined.
  • "null" - Resolve the promise with null.
  • "symbol" - Resolve the promise with a symbol Symbol.for("cancel").
  • "reject" - Reject the promise with an error.

See examples/prompt.ts for usage examples.

addReporter(reporter)

  • Aliases: add

Register a custom reporter instance.

removeReporter(reporter?)

  • Aliases: remove, clear

Remove a registered reporter.

If no arguments are passed all reporters will be removed.

setReporters(reporter|reporter[])

Replace all reporters.

create(options)

Create a new Consola instance and inherit all parent options for defaults.

withDefaults(defaults)

Create a new Consola instance with provided defaults

withTag(tag)

  • Aliases: withScope

Create a new Consola instance with that tag.

wrapConsole() restoreConsole()

Globally redirect all console.log, etc calls to consola handlers.

wrapStd() restoreStd()

Globally redirect all stdout/stderr outputs to consola.

wrapAll() restoreAll()

Wrap both, std and console.

console uses std in the underlying so calling wrapStd redirects console too. Benefit of this function is that things like console.info will be correctly redirected to the corresponding type.

pauseLogs() resumeLogs()

  • Aliases: pause/resume

Globally pause and resume logs.

Consola will enqueue all logs when paused and then sends them to the reported when resumed.

mockTypes

  • Aliases: mock

Mock all types. Useful for using with tests.

The first argument passed to mockTypes should be a callback function accepting (typeName, type) and returning the mocked value:

// Jest
consola.mockTypes((typeName, type) => jest.fn());
// Vitest
consola.mockTypes((typeName, type) => vi.fn());

Please note that with the example above, everything is mocked independently for each type. If you need one mocked fn create it outside:

// Jest
const fn = jest.fn();
// Vitest
const fn = vi.fn();
consola.mockTypes(() => fn);

If callback function returns a falsy value, that type won't be mocked.

For example if you just need to mock consola.fatal:

// Jest
consola.mockTypes((typeName) => typeName === "fatal" && jest.fn());
// Vitest
consola.mockTypes((typeName) => typeName === "fatal" && vi.fn());

NOTE: Any instance of consola that inherits the mocked instance, will apply provided callback again. This way, mocking works for withTag scoped loggers without need to extra efforts.

Custom Reporters

Consola ships with 3 built-in reporters out of the box. A fancy colored reporter by default and fallsback to a basic reporter if running in a testing or CI environment detected using unjs/std-env and a basic browser reporter.

You can create a new reporter object that implements { log(logObject): () => { } } interface.

Example: Simple JSON reporter

import { createConsola } from "consola";

const consola = createConsola({
  reporters: [
    {
      log: (logObj) => {
        console.log(JSON.stringify(logObj));
      },
    },
  ],
});

// Prints {"date":"2023-04-18T12:43:38.693Z","args":["foo bar"],"type":"log","level":2,"tag":""}
consola.log("foo bar");

Log Level

Consola only shows logs with configured log level or below. (Default is 3)

Available log levels:

  • 0: Fatal and Error
  • 1: Warnings
  • 2: Normal logs
  • 3: Informational logs, success, fail, ready, start, ...
  • 4: Debug logs
  • 5: Trace logs
  • -999: Silent
  • +999: Verbose logs

You can set the log level by either:

  • Passing level option to createConsola
  • Setting consola.level on instance
  • Using the CONSOLA_LEVEL environment variable (not supported for browser and core builds).

Log Types

Log types are exposed as consola.[type](...) and each is a preset of styles and log level.

A list of all available built-in types is available here.

Creating a new instance

Consola has a global instance and is recommended to use everywhere. In case more control is needed, create a new instance.

import { createConsola } from "consola";

const logger = createConsola({
  // level: 4,
  // fancy: true | false
  // formatOptions: {
  //     columns: 80,
  //     colors: false,
  //     compact: false,
  //     date: false,
  // },
});

Integrations

With jest or vitest

describe("your-consola-mock-test", () => {
  beforeAll(() => {
    // Redirect std and console to consola too
    // Calling this once is sufficient
    consola.wrapAll();
  });

  beforeEach(() => {
    // Re-mock consola before each test call to remove
    // calls from before
    // Jest
    consola.mockTypes(() => jest.fn());
    // Vitest
    consola.mockTypes(() => vi.fn());
  });

  test("your test", async () => {
    // Some code here

    // Let's retrieve all messages of `consola.log`
    // Get the mock and map all calls to their first argument
    const consolaMessages = consola.log.mock.calls.map((c) => c[0]);
    expect(consolaMessages).toContain("your message");
  });
});

With jsdom

{
  new jsdom.VirtualConsole().sendTo(consola);
}

Console Utils

// ESM
import {
  stripAnsi,
  centerAlign,
  rightAlign,
  leftAlign,
  align,
  box,
  colors,
  getColor,
  colorize,
} from "consola/utils";

// CommonJS
const { stripAnsi } = require("consola/utils");

Raw logging methods

Objects sent to the reporter could lead to unexpected output when object is close to internal object structure containing either message or args props. To enforce the object to be interpreted as pure object, you can use the raw method chained to any log type.

Example:

// Prints "hello"
consola.log({ message: "hello" });

// Prints "{ message: 'hello' }"
consola.log.raw({ message: "hello" });

License

MIT

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v3.4.0

compare changes

🚀 Enhancements

  • Use upstream @clack/prompts (#332)

🩹 Fixes

  • Calculate box width without escape sequence chars (#336)

💅 Refactors

  • Keep prompt styles (cont. #332) (#332)

📦 Build

  • Update exports for node16 typescript resolution (#331)

🏡 Chore

❤️ Contributors

v3.3.3

compare changes

📦 Build

  • Revert "build: update exports for node16 typescript resolution" (2065136)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.3.2

compare changes

📦 Build

  • Patch string-width for node 14 support (421c663)
  • Update exports for node16 typescript resolution (18bc852)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.3.1

compare changes

🩹 Fixes

  • fancy: Fallback whenIntl is unavailable (#326)

❤️ Contributors

v3.3.0

compare changes

🚀 Enhancements

  • utils: formatTree utility (#223)
  • Export prompt option types (#301)
  • Support report error cause (#308)
  • prompt: Configurable cancel strategy (#325)
  • formatTree: Support max depth (#267)

🩹 Fixes

  • Use initial in select and multiselect prompts (#232)
  • Make box title color same as border (#236)

📖 Documentation

  • Update screenshot (205d9c8)
  • Add vitest (#182)
  • Add note about raw method (#271)
  • Add jsdocs for utils functions (#286)
  • Add jsdocs for top-level functions (#288)

📦 Build

  • Fix subpath types (#265)
  • Add require condition for browser builds (#243)

🌊 Types

  • Fix prompt with select type return value type (#238)

🏡 Chore

🎨 Styles

🤖 CI

  • Use conventional commit for autofix (#217)

❤️ Contributors

v3.2.3

compare changes

🩹 Fixes

  • types: Partial style options for box (#210)
  • types: Add backward compatible declarations (e46733b)

🏡 Chore

  • Remove extra await in spinner example (#211)
  • Add autofix ci (b3aa049)
  • Update prettier (9a4b67e)

❤️ Contributors

v3.2.2

compare changes

🩹 Fixes

  • fancy: Add node 14 compatibility (#204)

📦 Build

  • pkg: Add supported engines field (#179)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.2.1

compare changes

🩹 Fixes

  • box: Fix preset naming for singleThick (#201)
  • fancy: Style underscore with surrounding spaces (#203)

❤️ Contributors

v3.2.0

compare changes

🚀 Enhancements

  • fancy: Support underlining (#191)
  • consola.box (#193)
  • consola/utils subpath export (#199)
  • Color utils (#200)

🩹 Fixes

  • Inherit mocks (#183)
  • Correct and improve return types for single and multi select prompts (#197)
  • Preserve tag casing (#190)

🏡 Chore

❤️ Contributors

v3.1.0

compare changes

🚀 Enhancements

  • Support fancy option for createConsola and improve docs (#177)
  • /basic, /core and /browser subpath exports (#178)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.2

compare changes

🩹 Fixes

  • mockTypes: Mock on options.typs (f9d86b6)
  • Type .raw for types (dfb976f)

💅 Refactors

  • Use individual named exports of reporters (57bb579)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.1

compare changes

🩹 Fixes

  • utils: Use default stream.write for workers support (#173)
  • Wrap options.stdout and options.stderr for wrapStd (ab59db6)

💅 Refactors

  • fancy: More minimal badges when width cannot be determined (ad24029)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0

compare changes

🚀 Enhancements

  • Default logLevel to 1 in test environments (#134)
  • Support literal for logLevels (#133)
  • Expose createConsola and named exports (ef6e5e5)
  • consola.prompt util (#170)
  • consola.fail log level (#153)
  • Pass formatOptions and other options to reporters (d77286a)
  • Show stack trace with consola.trace (#151)

🔥 Performance

  • Switch from chalk to colorette (271b4db)
  • Remove dayjs dependency (d6a3776)

🩹 Fixes

  • Add .raw to mocked functions (987dadc)
  • Type consola instance with built-in type functions (1a4b893)
  • Default value for color format utils (ec9be78)
  • fancy: Show time and tag on right when width cannot be determined (#128)
  • Pass level from CONSOLA_LEVEL to the defaults (#129)
  • consola: Type defaults overrides generic defaults (d3d3c05)
  • fancy: Improve colors (99c2a4f)
  • promp: Options is optional (817626f)

💅 Refactors

  • ⚠️ Rewrite consola with typescript (4479d2f)
  • Rename global to globalThis (bd03098)
  • utils: Rename global to globalThis (8c3ef77)
  • Strict typechecks (63bbd56)
  • Remove globalThis caching (4e7b909)
  • Drop json and winston reporters (5af0e99)
  • Move all options to consola.options without duplication (2d31ef4)
  • Move spam logic into _lastLog object (cabd04f)
  • Remove global async option (edd1bb9)
  • types: Merge LogTypeLiteral and logtype types to LogType (da1bc73)
  • ⚠️ Move log levels and types to constants (514f5b3)
  • Use index.node.ts for main build (b92d23b)
  • Improve types and exports (b380d21)
  • Improve fancy reporter (bc90db8)
  • Revert back to dist/index.* for bw compatibility (98e300f)
  • fancy: Better start color and icon (5a01d53)

📖 Documentation

  • Fix links to the source files (#172)

📦 Build

  • Use backward compatible cjs wrapper for default export (e2e6aa6)

🏡 Chore

✅ Tests

🎨 Styles

  • Prefer object spread instead of Object.assign (c03268a)

⚠️ Breaking Changes

  • ⚠️ Rewrite consola with typescript (4479d2f)
  • ⚠️ Move log levels and types to constants (514f5b3)

❤️ Contributors

v3.0.0-5

compare changes

🩹 Fixes

💅 Refactors

  • fancy: Better start color and icon (5a01d53)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-4

compare changes

🚀 Enhancements

  • consola.fail log level (#153)
  • Pass formatOptions and other options to reporters (d77286a)
  • Show stack trace with consola.trace (#151)

🩹 Fixes

  • Type consola instance with built-in type functions (1a4b893)
  • Default value for color format utils (ec9be78)
  • fancy: Show time and tag on right when width cannot be determined (#128)
  • Pass level from CONSOLA_LEVEL to the defaults (#129)
  • consola: Type defaults overrides generic defaults (d3d3c05)

💅 Refactors

  • Drop json and winston reporters (5af0e99)
  • Move all options to consola.options without duplication (2d31ef4)
  • Move spam logic into _lastLog object (cabd04f)
  • Remove global async option (edd1bb9)
  • types: Merge LogTypeLiteral and logtype types to LogType (da1bc73)
  • ⚠️ Move log levels and types to constants (514f5b3)
  • Use index.node.ts for main build (b92d23b)
  • Improve types and exports (b380d21)
  • Improve fancy reporter (bc90db8)
  • Revert back to dist/index.* for bw compatibility (98e300f)

📖 Documentation

  • Fix links to the source files (#172)

🏡 Chore

✅ Tests

🎨 Styles

  • Prefer object spread instead of Object.assign (c03268a)

⚠️ Breaking Changes

  • ⚠️ Move log levels and types to constants (514f5b3)

❤️ Contributors

v3.0.0-3

compare changes

💅 Refactors

  • Remove globalThis caching (4e7b909)

📦 Build

  • Use backward compatible cjs wrapper for default export (e2e6aa6)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-2

compare changes

🚀 Enhancements

  • consola.prompt util (#170)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-1

compare changes

🚀 Enhancements

  • Default logLevel to 1 in test environments (#134)
  • Support literal for logLevels (#133)
  • Expose createConsola and named exports (ef6e5e5)

🔥 Performance

  • Switch from chalk to colorette (271b4db)
  • Remove dayjs dependency (d6a3776)

💅 Refactors

  • ⚠️ Rewrite consola with typescript (4479d2f)
  • Rename global to globalThis (bd03098)
  • utils: Rename global to globalThis (8c3ef77)
  • Strict typechecks (63bbd56)

🏡 Chore

  • Make example/index.js working (#110)
  • Add LICENSE (#121)
  • npm: Update repository to unjs orgnization (#125)
  • Add prerelease script (cfaba5e)
  • Hide rollup warn (5c3b7f1)
  • Ignore coverage (da557ac)
  • Update examples (e07e3ab)

⚠️ Breaking Changes

  • ⚠️ Rewrite consola with typescript (4479d2f)

❤️ Contributors

2.15.3 (2021-02-07)

Bug Fixes

  • add .raw to mocked functions (987dadc)

2.15.2 (2021-02-03)

Bug Fixes

2.15.1 (2021-02-02)

Bug Fixes

  • skip logObj check for wrapped calls (fixes #109) (091a244)

2.15.0 (2020-08-05)

Features

  • types: use union type for ConsolaLogObject.type (#100) (a6eba53)
  • support formatOptions.date to optionally hide date (#101) (6bf733f)

2.14.0 (2020-06-26)

Features

2.13.0 (2020-06-12)

Features

  • remove level boundary check (8972d47)

Bug Fixes

  • types: fix silent/verbose levels (7ab0a65)

2.12.2 (2020-05-26)

Bug Fixes

2.12.1 (2020-05-07)

Bug Fixes

2.12.0 (2020-05-07)

Features

  • types: add missing typescript definitions for reporters (#94) (4a08ef0)

2.11.3 (2019-12-31)

Bug Fixes

  • typescript: remove cjs export (fixes #88) (0d9ab1b)

2.11.2 (2019-12-27)

Bug Fixes

  • types: const consola = require('consola') type is wrong (#80) (5c22d8c)
  • throttle expiration (#81) (940474d), closes #68

2.11.1 (2019-12-17)

Bug Fixes

2.11.0 (2019-11-10)

Features

  • browser: add support of formatted strings (#66) (920f313)

Bug Fixes

  • typecheck type and tag before normalize (1984deb)
  • types: reporter in remove methods are optional (#70) (a17cdb1)

2.10.1 (2019-08-05)

2.10.0 (2019-08-05)

Bug Fixes

  • add missing typescript declaration for level, stdout and stderr (#58) (a149dbb)

Features

  • improve typescript type definitions (#57) (80eefd8)

2.9.0 (2019-06-18)

Features

2.8.0 (2019-06-18)

Features

2.7.1 (2019-05-26)

Bug Fixes

  • browser: hide : with tag and normal log (8250d5a)

2.7.0 (2019-05-26)

Bug Fixes

  • correctly calculate line width when using grave accent (bad52bd)

Features

  • always hide right side on width < 80 (07d8246)
  • improve basic logs (ea6ce59)
  • browser: fancier logs (b64f337)
  • hide time from basic logger as it is commonly used in CI environments (68c3bae)
  • smart hide time and tag when there is no space (00a375f)

2.6.2 (2019-05-15)

Bug Fixes

2.6.1 (2019-05-08)

Bug Fixes

  • browser: use console.warn when possible (#49) (e386ede)

2.6.0 (2019-04-12)

Features

  • expose constructor and reporters (3a8f662)

2.5.8 (2019-03-29)

Bug Fixes

  • types: allow passing extra arguments (#46) (d29fc46)

2.5.7 (2019-03-19)

Bug Fixes

  • formatting: fix formatting when multiple back-quotes (#44) (669a12e)

2.5.6 (2019-02-25)

Bug Fixes

  • ts: revert export consola ts declarations (#43) (6bd4f85)

2.4.1 (2019-02-12)

Bug Fixes

2.4.0 (2019-02-05)

Bug Fixes

  • esm: fix esm compatibility (8ddecc3)
  • consola: return this in setReporters (544a887)
  • types: set message type to "any" (#39) (ff97b09), closes #38

Features

2.3.2 (2019-01-06)

Bug Fixes

  • types: add some of the missing types (#35) (5e3e69b)
  • ignore winston dep in webpack (#37) (e534a28)

2.3.1 (2019-01-02)

Bug Fixes

  • bypass webpack for lazy required version of winston (500b509)

2.3.0 (2018-11-19)

Bug Fixes

  • isLogObj: handle non-standard error objects (8748c81)

Features

  • browser reporter improvements (591d0b4), closes #31
  • fancy: look like jest traces (ecae238)

2.2.6 (2018-11-14)

Bug Fixes

  • json-reporter: add a default value to the constructor (#33) (c59db36)

2.2.5 (2018-11-14)

Bug Fixes

  • expose typescript typings (f0398ed)

2.2.4 (2018-11-08)

Bug Fixes

  • use basic reporter only for ci and test environments (33220e4)

2.2.3 (2018-11-07)

Bug Fixes

  • fancy: honor logObj.icon (d56fa38)

2.2.2 (2018-11-04)

Bug Fixes

  • update std-env to 2.1.1 (32a9c67)

2.2.1 (2018-11-04)

Bug Fixes

  • remove file:// from error stack traces (ff24b69)

2.2.0 (2018-11-04)

Bug Fixes

  • correctly handle falsy values (367fb19)

Features

2.1.1 (2018-11-03)

Bug Fixes

  • add legacy ready and start levels for more backward compatibility (f54b5c2)

2.1.0 (2018-11-03)

Features

2.0.9 (2018-11-03)

2.0.8 (2018-11-03)

2.0.7 (2018-11-02)

Bug Fixes

  • always use computed values for stdout/stderr (f91abc0)

2.0.6 (2018-11-02)

2.0.5 (2018-11-02)

2.0.4 (2018-11-02)

Bug Fixes

  • fancy: remove extra icons (b66fde0)

2.0.3 (2018-11-02)

Bug Fixes

  • pkg: exclude src from package (4b1fb7d)
  • use live console._stdout bindings for default stream (d9573c3)

2.0.2 (2018-11-02)

Bug Fixes

  • error: always strip first line from stack (3afa9aa)

2.0.1 (2018-11-02)

Bug Fixes

  • fancy: use proper color for log paths (7c75283)

2.0.0 (2018-11-02)

2.0.0-2 (2018-11-02)

Bug Fixes

  • add methods for legacy support (4bdd034)
  • preserve additional new lines (340a001)
  • update std-env to 2.1.0 (2dc2a50)

Features

  • support badge with fancy (38600fe)

2.0.0-1 (2018-10-31)

2.0.0-0 (2018-10-31)

Bug Fixes

  • add schmance.js (2929648)
  • docs: update readme (#22) (e75f2a0)
  • add default/undefined color for browser (39584d2)
  • add missing parseStack import (da53dee)
  • also copy symbols in assignGlobalReference (b0eefb5)
  • don't return this when calling log functions (f07e056)
  • fix badge display (e036eed)
  • fix main field (4b56e48)
  • fix typos (45e2f99)
  • handle null value of obj for assignToLogObj (d2402af)
  • improve browser packaging (4d8c8d0)
  • lint (f909761)
  • lint (d976620)
  • only one color ending parameter is enough (d213634)
  • readme: icon string length is digit (31f1894)
  • remove name assignment (8d59075)
  • remove pushes for better readability (418d84a)
  • rename private fields (244fe5c)
  • rename require test file (cfc8f9e)
  • return earlier on not displaying levels (cfdcf04)
  • support Error as logObject (134ff54)
  • text color comment (9336fbc)
  • update demo (3842e0e)
  • use symbols for private property access (8e6343c)

Code Refactoring

  • additionalStyle ~> additionalColor (3f808e9)

Features

  • add VERSION to consola prototype (982c8ca)
  • add assignGlobalConsola helper (1af28f7)
  • add getter/setter for level (7af5ed5)
  • add global.consola (4da784d)
  • add shmancy reporter (dc6121a)
  • add symbols to browser (30cd4f0)
  • add sync/async write (8525525)
  • add typescript typings (#24) (0853a6f)
  • align basic and fancy reporter tags (38a4729)
  • better stack formater (f5acb3c)
  • detect version changes and throw a warning (73bdd1a)
  • improve packaging and exports (90da862)
  • improve packaging for browser support (47af1df)
  • initial works for v2.0.0 (455b6f9)
  • log formatting using printf (2afb025)
  • no more side effects (c015c31)
  • pause/resume (f217cc1)
  • return new consola instance with consola.create (4ae3614)
  • rework _createLogFn with better argument handling (2d4af39)
  • scope inheritance support (#23) (0070c54)
  • fancy/basic: support logObj.stack field (aa2216f)
  • setReporters, withDefaults and withTag (912446f)
  • showType option (ed294e4)
  • style browser reporter (d39684d)
  • support all chalk colors (2cec678), closes #20
  • wrapConsole (3962a1f)
  • wrapStd (f8bfbeb)
  • write error and warns to process.stderr by default (6565254)

Performance Improvements

  • basic: refactor getWriteMethod (c52db69)
  • remove all DEPRECATED helpers for less bundle size (fe39d37)

BREAKING CHANGES

  • Use new additionalColor prop
  • lot's of internals had been changed.
  • Behavior may be changed in some conditions

1.4.4 (2018-10-13)

Bug Fixes

1.4.3 (2018-08-18)

Bug Fixes

  • use more compatible string to clear the console (82ce410)

1.4.2 (2018-08-12)

Bug Fixes

  • cannot set level as 0 in options (4c1ecce)

1.4.1 (2018-05-27)

Bug Fixes

1.4.0 (2018-05-27)

Features

  • support custom additional style (#18) (7a750bf)
  • fancy: support icon field (0123bed)

1.3.0 (2018-04-15)

Bug Fixes

  • reporters/fancy: extra space for additional (efeab44)
  • prevent duplicate consola instances when different versions used by packages (0bce262)

Features

  • support extra log arguments (8b6d3d2)

1.2.0 (2018-04-02)

Features

  • basic: support additional field (b50cad8)
  • improve packaging (158e8ef)

Performance Improvements

  • require needed lodash methods only (91065e4)

1.1.4 (2018-03-31)

Bug Fixes

  • package: add chalk to dependencies (3f738e9)

1.1.3 (2018-03-31)

Bug Fixes

  • only include dist and src in package (8b477ec)

1.1.2 (2018-03-31)

Bug Fixes

  • handle null and undefined calls (1f98bb1)

1.1.1 (2018-03-31)

Bug Fixes

1.1.0 (2018-03-31)

Features

  • rewrite FancyReporter without ora (73c1ddc)

1.0.0 (2018-03-31)

0.1.0 (2018-03-31)

Features

  • add log type for console compability (96a8162)