OutFrontJS icon indicating copy to clipboard operation
OutFrontJS copied to clipboard

Option to hide by default, show on message of certain level

Open suterma opened this issue 4 years ago • 1 comments

I am later in the development cycle now and do not want to show the bug icon all the time. It obstructs the screen unnecessarily However, testers should be able to report an error message.

Describe the solution you'd like Outfront should have an option to define a log level, from which the bug icon is shown. E.g. "error". In this case the bug icon would only show when there is a message of type "error" or higher (well none in this case, but for e.g. "warning" there might)

Describe alternatives you've considered I could also do this myself with my own logging, but this is a very nice lib.

Additional context none

suterma avatar Jan 10 '22 22:01 suterma

Suterma, this seems to be a good addition. I'll look into this.

paanSinghCoder avatar Jan 11 '22 05:01 paanSinghCoder