Skip to content

Releases: effector/logger

v0.13.0

03 Oct 09:51
6037e0f
Compare
Choose a tag to compare

🚀 Features

  • Add the configure procedure to hide units from log #58 (@sergeysova)

Sometimes it is required to hide some events or stores from log.
It is simple to implement: just call configure on your unit.

import { createEvent } from 'effector'
import { configure } from 'effector-logger'
import { $data, loadDataFx } from './model'

const pageMounted = createEvent<number>();

configure(pageMounted, { log: 'disabled' })

// You can pass multiple units as array
configure([$data, loadDataFx], { log: 'disabled' })

🧰 Maintenance

v0.12.2

03 Oct 00:25
5f67255
Compare
Choose a tag to compare

🐛 Bug Fixes

🧰 Maintenance

v0.12.1

16 Sep 14:56
Compare
Choose a tag to compare

Fixes

v0.12.0

10 Sep 11:22
Compare
Choose a tag to compare

Features

Chore

v0.11.0

10 Sep 11:20
Compare
Choose a tag to compare
  • always add loc to and names to a units using babel plugin
  • upgrade effector and inspector

v0.10.0

16 Mar 19:25
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Features

  • add scope support in attach logger #34 #35 (@lokhmakov)
  • Create React App support via effector-logger/macro

Dependencies

v0.8.0

02 Oct 19:22
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

Features

  • Allow to disable any kind of logs (76b034c)
import { createDomain } from 'effector'
import { attachLogger } from 'effector-logger/attach'

const app = createDomain()

// Only redux devtools enabled
attachLogger(app, { console: "disabled", inspector: "disabled" })

Improvements

v0.6.0

22 May 14:58
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Changes

  • Rebuilt logging
    image
  • wrong rounds coz joined with empty space #12 Thanks @Laiff
  • improved logging output #11 Thanks @Laiff
  • fixed duplicate logging for child domains #6
  • fixed logging incorrect initial store state after hydration

v0.6.0-0

20 Feb 14:31
1f1a6fb
Compare
Choose a tag to compare
v0.6.0-0 Pre-release
Pre-release

Changes

v0.5

18 Feb 12:18
312c66f
Compare
Choose a tag to compare

Changes:

  • Log initialized stores with states as collapsed group
  • Allow debugging single domain with attachLogger:
import { createDomain } from 'effector'
import { attachLogger } from 'effector-logger/attach'

const domain = createDomain("CUSTOM")

attachLogger(domain)

Inspector

  • Show mapped stores in inspector
  • Inspector updated to ^0.2.1

Redux DevTools

  • Show fx.inFlight and fx.pending
  • Show units in domain as nested states
  • Renamed logs