Store: Logger collapsed option is not working as expected

Created on 10 May 2018  路  4Comments  路  Source: ngxs/store

[x] Bug report

Neither NgxsLoggerPluginModule.forRoot() nor NgxsLoggerPluginModule.forRoot({ collapsed: true }) work as expected. (image included)

Versions

* ngxs: 3.0.1
* @angular/core: 6.0.0

Repro steps

  • Enable the logger plugin
  • Ensure some actions are triggered
  • Open Console and look at the logs

Here is a screenshot ...

screen shot 2018-05-10 at 3 19 43 pm

Desired behavior

screen shot 2018-05-10 at 3 23 14 pm

Most helpful comment

Hi All

Also disabled is not working

e.g NgxsLoggerPluginModule.forRoot({ logger: console, collapsed: false, disabled: true }),

All 4 comments

Hi All

Also disabled is not working

e.g NgxsLoggerPluginModule.forRoot({ logger: console, collapsed: false, disabled: true }),

Hi All. Having the same issue while using the environment file from angular.

NgxsLoggerPluginModule.forRoot({collapsed: true, disabled: environment.production}),

image

i have the same issue :(

Me too

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulstelzer picture paulstelzer  路  5Comments

malfusion picture malfusion  路  4Comments

am4apps picture am4apps  路  4Comments

kyusupov33 picture kyusupov33  路  3Comments

ToxicToast picture ToxicToast  路  6Comments