Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
182 stars 38 forks source link

The EmptyReason property should support polymorphic types #332

Closed Kittyfisto closed 3 years ago

Kittyfisto commented 3 years ago

At the moment, Tailviewer defines an enum with a few reasons as to why a log file is empty. However as soon as plugins start adding support for custom log files, there can be many more reasons why a log file is empty.

Plugins should be able to define their own reasons as to why a log file is empty and Tailviewer should just roll with it and display said reason.

Required changes: