I notice the lack of love.log module.
Proper logging is very important for debugging, print is simply not enough.
Love needs file logging
Re: Love needs file logging
Should be pretty easy to implement yourself with love.filesystem.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: Love needs file logging
I must agree that having a love.log with multi-thread support and multiple severity levels would be helpful...
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Love needs file logging
I'd argue that this is one of those things where people like to customize very heavily; their needs are often incompatible in ways one wouldn't think of; that said, i did implement half of the logger faetures Fenrir wrote in one of my games: severity levels; threading wouldn't be that hard either, depending on the implementation. I may release it soon-ish, along with a few other more experimental stuff i was working on
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Love needs file logging
...is the one I clearly see a need for. Severity levels etc. you can most easily build yourself in <20 lines of Lua, but a proper locking/blocking mechanism would really be worth it.Fenrir wrote:I must agree that having a love.log with multi-thread supportand multiple severity levels would be helpful...
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Love needs file logging
You can just dump it in a [wiki]Channel[/wiki], or even just use the love.event, and then have a callback in the main thread that deals with it.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests