Advices on a logging library

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Fenrir
Party member
Posts: 222
Joined: Wed Nov 27, 2013 9:44 am
Contact:

Advices on a logging library

Post by Fenrir »

Hi guys,

As my current project is growing, it's time for me to setup a proper log system instead of some prints lost in the code. So I'm looking for a logging library allowing me to control things like log severity, some fomatting, etc... I just want to write my log on files, nothing fancy like databases or through network. Do you know any good library for that ?

Thanks!
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Advices on a logging library

Post by veethree »

There's probably a proper one out there, But i wrote a little library called "dbug" for personal use a while ago. One of it's features is keeping a log file. It's not really finished, Probably buggy, and generally just bad, So i wouldn't recommend using it, But you can feel free to read the code to get an idea on how to write your own, Or just modify it so it works for you. It's on github.
Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests