yarn redux-logger 2.7.0
2.7.0 — diff (alpha), formatter for title

latest releases: 4.0.0, 3.0.6, 3.0.5...
7 years ago

Diff

@sibelius merged redux-diff-logger and now you can use it by passing diff: true to options in createLogger(), f.e.

const logger = createLogger({
  diff: true,
});

❗️ Diff is very unstable and not tested, so we don't recommend use it as primary feature of logging.

Formatter for title

@spalger made titleFormatter option (#165)

titleFormatter = (action: Object, time: String?, took: Number?) => title

Format the title used for each action.

Default: prints something like action @ ${time} ${action.type} (in ${took.toFixed(2)} ms)

Bugfixes

  • fix: performance now checking for null and don't fail with TypeError (#173)
  • fix: default color of title now inherits console's default color (#176)

Don't miss a new redux-logger release

NewReleases is sending notifications on new releases.