ngworker / lumberjack

Chop and cut Angular logs like a professional lumberjack.

Home Page:https://ngworker.github.io/lumberjack/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for String Literal Unions in addition to enums for Lumberjack Levels

NachoVazquez opened this issue · comments

What is the motivation/use case for changing the behavior?

We want to remove TypeScript Enums and replace them with TypeScript string literal unions.

Describe the solution you'd like

  • Add support for string literal unions along with the current Enums
  • Deprecate current Enums and notify that they will be released on version 19

Describe alternatives you've considered

Replace the enums in one movement without deprecation. This might be necessary if supporting enums and string literal unions becomes too complex.

Additional context

#188