Skip to content

Releases: litert/logger.js

v2.0.0

14 Jan 04:10
v2.0.0
b4b4a8b
Compare
Choose a tag to compare

Refactor

  • Simplified factory API, removed management of created loggers.

    Now updating default settings of logger factory will not affect the loggers created before.

  • Use numeric timestamp in logger methods' optional second parameter, instead of a Date object.

v1.2.1

12 Oct 01:27
v1.2.1
006c2cc
Compare
Choose a tag to compare

Changes

  • fix(logger): removed debug code

v1.2.0

10 Oct 09:13
v1.2.0
801470e
Compare
Choose a tag to compare

Changes

  • feat(logger): added Logger.isMuted method.

v1.1.4

07 Sep 01:08
v1.1.4
2f1e68d
Compare
Choose a tag to compare

Changes

  • fix(factory): only fn and name of formatter is acceptable by createLogger method.
  • refactor: renamed LoggerMethod to ILoggerMethod, and @deprecated the LoggerMethod.
  • refactor: renamed DefaultLevels to IDefaultLevels, and @deprecated the DefaultLevels.
  • refactor: renamed ForeColorSet to IForeColorSet, and @deprecated the ForeColorSet.
  • refactor: renamed BgColorSet to IBgColorSet, and @deprecated the BgColorSet.

Release v1.1.0

23 Dec 11:33
Compare
Choose a tag to compare

Changes

  • Added pre-registered formatter supports.

Stable v1.0.0

18 Dec 09:17
Compare
Choose a tag to compare

Changes

  • Upgrade to TypeScript v3.2.x.
  • Added some comments.

v0.3.1

12 Aug 13:51
Compare
Choose a tag to compare

Changes

  • Fixed the declaration files for TypeScript.

v0.3.0

12 Aug 13:25
Compare
Choose a tag to compare

Changes

  • Structure rebuilt, for flexibility and performance.
  • Simplified the APIs.
  • Improved the documents.
  • Improved the drivers.
  • Added colorful-tty built-in driver.
  • Added supports for multi-factories.
  • Removed all dependencies.

v0.2.3

12 Aug 13:26
Compare
Choose a tag to compare

Changes

  • Upgrade @litert/core to v0.6.0.

v0.2.2

12 Aug 13:27
Compare
Choose a tag to compare

Changes

  • Fixed: Error when creating text logger lacking $trace definition.