yarn redux-logger 2.2.1

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

Changelog

  • feature: colors.title with action argument for better color management

Thankfully to @af and #100 now you can paint even title! 💅
For example, you can paint title for red if action has fail in type.

const logger = createLogger({
  colors: {
    title: (action) => {
      if (action.type.indexOf(`fail`)) {
        return `red`;
      } else {
        return `#111`;
      }
    };
  }
})

Don't miss a new redux-logger release

NewReleases is sending notifications on new releases.