phenixdigital / phoenix_storybook

A pluggable storybook for your Phoenix components.
MIT License
708 stars 54 forks source link

Add option to disable compilation logs #478

Closed MrYawe closed 2 months ago

MrYawe commented 4 months ago

I suggest to add an option to disable these logs:

14:27:41.766 [debug] compiling storybook file: core_components/button.story.exs

14:27:41.776 [debug] compiling storybook file: core_components/flash.story.exs

14:27:41.787 [debug] compiling storybook file: core_components/header.story.exs

14:27:41.798 [debug] compiling storybook file: core_components/input.story.exs

14:27:41.810 [debug] compiling storybook file: core_components/list.story.exs

14:27:41.820 [debug] compiling storybook file: core_components/modal.story.exs

14:27:41.831 [debug] compiling storybook file: core_components/table.story.exs

14:27:41.850 [debug] compiling storybook file: examples/chat_components.story.exs

14:27:41.908 [debug] compiling storybook file: examples/core_components.story.exs

Also these logs don't seem to take into account my config config :logger, level: :warning in test.

cblavier commented 3 months ago

I'm also bothered by these logs 😅 would you mind opening a PR?