Open dthuesen opened 5 months ago
Hi @dthuesen. Thanks for your interest for the logarte package.
Can I suggest having a property parameter for maxEntriesNumber
? Would that fix your issue?
@kamranbekirovyz
Oh, your answer came quick. Nice!!!
This property would be a very good start. I think a property like entryExpiryTime
or entriesLifetime
or similar would need more effort. With such properties I would be able to not only track the most important exceptions/errors but also sometimes helpful other logging information. With that said, it also would be nice to distinguish between '.error', '.info', '.network' ...and so on. But be sure I know its a lot of work and everything what makes it a bit more mobile friendly in terms of memory usage, is helpful. I was happy, when I recognised this package because otherwise I would have build it on my own. This is so much better ;-)
So thanks for your reply and your work you already have done for this package.
That's my pleasure. I'll try to improve the package over the time.
The logging could exceed the available memory on some devices if the logging gets too large. So it would be nice to be able to set limits. Like only the last n number of entries stay in log. Or the last n minutes stay in log.